Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 191.3 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2057, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003654/0.2094, allocations: 3.275 MB / 328.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.2113, allocations: 1.32 MB / 329.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.2115, allocations: 6.875 kB / 329.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.2119, allocations: 125.3 kB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007609/0.2127, allocations: 332.2 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.2131, allocations: 234.5 kB / 330.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.2136, allocations: 440 kB / 330.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.2139, allocations: 156.2 kB / 330.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2141, allocations: 158.8 kB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2143, allocations: 202.9 kB / 331.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.2144, allocations: 39.69 kB / 331.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.2147, allocations: 158.6 kB / 331.3 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.2147, allocations: 82.19 kB / 331.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.2149, allocations: 199.6 kB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.2154, allocations: 0.5258 MB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2155, allocations: 0 / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2155, allocations: 0 / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2155, allocations: 1.125 kB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001306/0.2168, allocations: 0.7365 MB / 332.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2168, allocations: 13.3 kB / 332.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006094/0.2174, allocations: 93.16 kB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.2178, allocations: 308.1 kB / 333.2 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2179, allocations: 22.59 kB / 333.2 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.2179, allocations: 43.06 kB / 333.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.2185, allocations: 355.8 kB / 333.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2185, allocations: 4 kB / 333.6 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.2186, allocations: 15.94 kB / 333.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2186, allocations: 8 kB / 333.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.219, allocations: 246.1 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.2209, allocations: 1.327 MB / 335.2 MB, free: 9.527 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.2212, allocations: 197.1 kB / 335.4 MB, free: 9.316 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.2214, allocations: 89.67 kB / 335.5 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.2221, allocations: 0.8674 MB / 336.4 MB, free: 8.254 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2221, allocations: 34.56 kB / 336.4 MB, free: 8.211 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.2222, allocations: 0 / 336.4 MB, free: 8.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.000495/0.2227, allocations: 229.2 kB / 336.6 MB, free: 7.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.2227, allocations: 85.03 kB / 336.7 MB, free: 7.879 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.223, allocations: 279.1 kB / 337 MB, free: 7.602 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.223, allocations: 25.7 kB / 337 MB, free: 7.57 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.2231, allocations: 239.3 kB / 337.2 MB, free: 7.332 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.2232, allocations: 63.17 kB / 337.3 MB, free: 7.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.2233, allocations: 65.94 kB / 337.4 MB, free: 7.199 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2234, allocations: 342.8 kB / 337.7 MB, free: 6.855 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2235, allocations: 68.86 kB / 337.8 MB, free: 6.789 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.2238, allocations: 198.3 kB / 337.9 MB, free: 6.535 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.2242, allocations: 296.9 kB / 338.2 MB, free: 6.184 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2242, allocations: 0 / 338.2 MB, free: 6.184 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004861/0.2247, allocations: 321.3 kB / 338.6 MB, free: 5.863 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2247, allocations: 4 kB / 338.6 MB, free: 5.859 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.2247, allocations: 15.94 kB / 338.6 MB, free: 5.844 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2247, allocations: 4 kB / 338.6 MB, free: 5.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.225, allocations: 83.83 kB / 338.7 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.225, allocations: 7.938 kB / 338.7 MB, free: 5.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2252, allocations: 35.69 kB / 338.7 MB, free: 5.715 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.2253, allocations: 19.98 kB / 338.7 MB, free: 5.695 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.2254, allocations: 153.7 kB / 338.9 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.2255, allocations: 27.72 kB / 338.9 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.2256, allocations: 29.73 kB / 338.9 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2256, allocations: 3.938 kB / 338.9 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2256, allocations: 4 kB / 338.9 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2256, allocations: 3.984 kB / 338.9 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.2262, allocations: 0.503 MB / 339.4 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2262, allocations: 4 kB / 339.4 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2265, allocations: 55.88 kB / 339.5 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2265, allocations: 4 kB / 339.5 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2265, allocations: 0 / 339.5 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2265, allocations: 3.984 kB / 339.5 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2265, allocations: 4 kB / 339.5 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.227, allocations: 423.1 kB / 339.9 MB, free: 4.398 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.2271, allocations: 104.7 kB / 340 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.2271, allocations: 8 kB / 340 MB, free: 4.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2274, allocations: 11.98 kB / 340 MB, free: 4.258 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2274, allocations: 11.98 kB / 340.1 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2274, allocations: 4 kB / 340.1 MB, free: 4.242 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.2276, allocations: 202 kB / 340.3 MB, free: 4.043 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2276, allocations: 0 / 340.3 MB, free: 4.043 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.228, allocations: 83.78 kB / 340.3 MB, free: 3.961 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001517/0.2282, allocations: 111.3 kB / 340.4 MB, free: 3.844 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.2286, allocations: 202.5 kB / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2286, allocations: 0 / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2287, allocations: 73.03 kB / 340.7 MB, free: 3.578 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.2292, allocations: 36.81 kB / 340.8 MB, free: 3.543 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2302, allocations: 0.7771 MB / 341.5 MB, free: 2.738 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2305, allocations: 0.7793 MB / 342.3 MB, free: 1.934 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.2307, allocations: 34.97 kB / 342.3 MB, free: 1.898 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.2307, allocations: 19.44 kB / 342.4 MB, free: 1.879 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2308, allocations: 0 / 342.4 MB, free: 1.879 MB / 270.1 MB Notification: Performance of Templates: time 0.005066/0.2358, allocations: 2.275 MB / 344.6 MB, free: 15.61 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)