Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001086/0.001086, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001179/0.001179, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1995, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003842/0.2034, allocations: 3.236 MB / 328.6 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2053, allocations: 1.34 MB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2055, allocations: 6.594 kB / 329.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.2059, allocations: 156.6 kB / 330.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007782/0.2067, allocations: 352.2 kB / 330.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.2072, allocations: 265.8 kB / 330.7 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.2077, allocations: 444.5 kB / 331.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.2079, allocations: 143.9 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.2081, allocations: 175 kB / 331.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.2084, allocations: 191.8 kB / 331.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.2084, allocations: 38.69 kB / 331.6 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.2087, allocations: 159.1 kB / 331.8 MB, free: 13 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.2088, allocations: 85.84 kB / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.209, allocations: 195.1 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.2096, allocations: 0.5263 MB / 332.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2096, allocations: 0 / 332.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2096, allocations: 5.094 kB / 332.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2096, allocations: 0 / 332.6 MB, free: 12.41 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.001388/0.211, allocations: 0.7409 MB / 333.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.211, allocations: 13.17 kB / 333.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006022/0.2116, allocations: 92.48 kB / 333.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.212, allocations: 312.4 kB / 333.7 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.2121, allocations: 33.31 kB / 333.8 MB, free: 11.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.2121, allocations: 32.38 kB / 333.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.2127, allocations: 353.6 kB / 334.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2127, allocations: 0 / 334.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.2128, allocations: 16 kB / 334.2 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2128, allocations: 8 kB / 334.2 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.2133, allocations: 254.1 kB / 334.4 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.2151, allocations: 1.315 MB / 335.7 MB, free: 9.273 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.2155, allocations: 189.2 kB / 335.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.2157, allocations: 93.61 kB / 336 MB, free: 8.973 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/0.2164, allocations: 0.8674 MB / 336.9 MB, free: 8.004 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.2165, allocations: 34.56 kB / 336.9 MB, free: 7.961 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.2165, allocations: 4 kB / 336.9 MB, free: 7.957 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005259/0.217, allocations: 221.2 kB / 337.1 MB, free: 7.734 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2171, allocations: 85.05 kB / 337.2 MB, free: 7.633 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.2173, allocations: 279.1 kB / 337.5 MB, free: 7.352 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2174, allocations: 33.7 kB / 337.5 MB, free: 7.312 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2175, allocations: 239.3 kB / 337.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.2176, allocations: 59.2 kB / 337.8 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.2176, allocations: 69.92 kB / 337.9 MB, free: 6.941 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2178, allocations: 338.8 kB / 338.2 MB, free: 6.602 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2179, allocations: 68.61 kB / 338.3 MB, free: 6.535 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.2182, allocations: 198.4 kB / 338.5 MB, free: 6.281 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.2185, allocations: 288.9 kB / 338.8 MB, free: 5.938 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.2186, allocations: 4 kB / 338.8 MB, free: 5.934 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005156/0.2191, allocations: 317.2 kB / 339.1 MB, free: 5.617 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2191, allocations: 11.94 kB / 339.1 MB, free: 5.605 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2191, allocations: 4.25 kB / 339.1 MB, free: 5.602 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2191, allocations: 8 kB / 339.1 MB, free: 5.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.2194, allocations: 87.78 kB / 339.2 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2194, allocations: 11.98 kB / 339.2 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2196, allocations: 35.62 kB / 339.2 MB, free: 5.461 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2197, allocations: 16.12 kB / 339.2 MB, free: 5.445 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.0001344/0.2198, allocations: 161.6 kB / 339.4 MB, free: 5.277 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.2199, allocations: 27.72 kB / 339.4 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.2199, allocations: 29.73 kB / 339.4 MB, free: 5.219 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.22, allocations: 7.938 kB / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.22, allocations: 0 / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.22, allocations: 0 / 339.5 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.2206, allocations: 0.5108 MB / 340 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2206, allocations: 0 / 340 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.2209, allocations: 47.91 kB / 340 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2209, allocations: 0 / 340 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2209, allocations: 8 kB / 340 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2209, allocations: 0 / 340 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2209, allocations: 0 / 340 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.2214, allocations: 419.2 kB / 340.4 MB, free: 4.156 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.649e-05/0.2215, allocations: 112.7 kB / 340.5 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.2215, allocations: 0 / 340.5 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.2218, allocations: 15.98 kB / 340.6 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.2218, allocations: 16.05 kB / 340.6 MB, free: 3.996 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2218, allocations: 8 kB / 340.6 MB, free: 3.988 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.222, allocations: 194 kB / 340.8 MB, free: 3.797 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.222, allocations: 0 / 340.8 MB, free: 3.797 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000409/0.2224, allocations: 79.78 kB / 340.8 MB, free: 3.719 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.000129/0.2226, allocations: 123.2 kB / 341 MB, free: 3.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.223, allocations: 206.9 kB / 341.2 MB, free: 3.391 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.223, allocations: 1.125 kB / 341.2 MB, free: 3.391 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.2231, allocations: 67.91 kB / 341.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.2236, allocations: 41.06 kB / 341.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2246, allocations: 0.6441 MB / 341.9 MB, free: 2.613 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2249, allocations: 0.7715 MB / 342.7 MB, free: 1.816 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.2251, allocations: 34.97 kB / 342.7 MB, free: 1.781 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.2251, allocations: 23.44 kB / 342.8 MB, free: 1.758 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2251, allocations: 0 / 342.8 MB, free: 1.758 MB / 270.1 MB Notification: Performance of Templates: time 0.005413/0.2306, allocations: 2.329 MB / 345.1 MB, free: 15.43 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)