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.001079/0.001079, allocations: 89.97 kB / 15.06 MB, free: 1.094 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.001198/0.001198, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0005951/0.0005952, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.256, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002838/0.2588, allocations: 2.753 MB / 329.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2608, allocations: 1.224 MB / 330.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.261, allocations: 11.31 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.2613, allocations: 105.8 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.262, allocations: 292.3 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.2625, allocations: 199.8 kB / 331 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000577/0.2631, allocations: 400.8 kB / 331.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2633, allocations: 127.8 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2635, allocations: 144.1 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.2637, allocations: 174.3 kB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.2638, allocations: 18.81 kB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.2641, allocations: 131.6 kB / 332 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.2642, allocations: 67.31 kB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.2643, allocations: 89.3 kB / 332.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.2648, allocations: 401.3 kB / 332.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2648, allocations: 4 kB / 332.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2648, allocations: 5.062 kB / 332.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2648, allocations: 0 / 332.6 MB, free: 12.87 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.001322/0.2661, allocations: 0.6802 MB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2662, allocations: 9.562 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.2668, allocations: 95.16 kB / 333.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.2672, allocations: 298.9 kB / 333.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.2672, allocations: 31.27 kB / 333.7 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.2673, allocations: 34.66 kB / 333.7 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.2679, allocations: 352.5 kB / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.268, allocations: 0 / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.268, allocations: 16.31 kB / 334.1 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.268, allocations: 8.156 kB / 334.1 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.2686, allocations: 254.8 kB / 334.3 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.2706, allocations: 1.335 MB / 335.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.271, allocations: 205.1 kB / 335.9 MB, free: 9.883 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2712, allocations: 93.64 kB / 336 MB, free: 9.785 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007799/0.272, allocations: 0.8674 MB / 336.8 MB, free: 8.816 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.272, allocations: 38.56 kB / 336.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.272, allocations: 0 / 336.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005101/0.2725, allocations: 229.3 kB / 337.1 MB, free: 8.539 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2726, allocations: 81.11 kB / 337.2 MB, free: 8.441 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.2729, allocations: 283 kB / 337.4 MB, free: 8.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2729, allocations: 29.7 kB / 337.5 MB, free: 8.125 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.273, allocations: 239.4 kB / 337.7 MB, free: 7.887 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.2731, allocations: 67.03 kB / 337.8 MB, free: 7.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.2731, allocations: 4 kB / 337.8 MB, free: 7.816 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2733, allocations: 342.8 kB / 338.1 MB, free: 7.473 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2734, allocations: 72.61 kB / 338.2 MB, free: 7.398 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2736, allocations: 198.4 kB / 338.4 MB, free: 7.145 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2738, allocations: 99.92 kB / 338.5 MB, free: 7.047 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2738, allocations: 4 kB / 338.5 MB, free: 7.043 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005063/0.2743, allocations: 317.2 kB / 338.8 MB, free: 6.727 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2744, allocations: 8 kB / 338.8 MB, free: 6.719 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2744, allocations: 4 kB / 338.8 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2744, allocations: 8 kB / 338.8 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2747, allocations: 79.89 kB / 338.9 MB, free: 6.629 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.2747, allocations: 16.25 kB / 338.9 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2749, allocations: 55.47 kB / 338.9 MB, free: 6.559 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2749, allocations: 16 kB / 339 MB, free: 6.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.2751, allocations: 149.7 kB / 339.1 MB, free: 6.387 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.2751, allocations: 27.72 kB / 339.1 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.2752, allocations: 29.73 kB / 339.2 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2752, allocations: 4 kB / 339.2 MB, free: 6.324 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2752, allocations: 256 / 339.2 MB, free: 6.324 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.2752, allocations: 4 kB / 339.2 MB, free: 6.32 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.2759, allocations: 0.5224 MB / 339.7 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2759, allocations: 7.984 kB / 339.7 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2761, allocations: 43.92 kB / 339.7 MB, free: 5.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2761, allocations: 4.031 kB / 339.8 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.2761, allocations: 11.98 kB / 339.8 MB, free: 5.672 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2762, allocations: 0 / 339.8 MB, free: 5.672 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2762, allocations: 3.953 kB / 339.8 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.2767, allocations: 429.7 kB / 340.2 MB, free: 5.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.2768, allocations: 100.9 kB / 340.3 MB, free: 5.113 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2768, allocations: 4 kB / 340.3 MB, free: 5.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.277, allocations: 15.98 kB / 340.3 MB, free: 5.094 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.2771, allocations: 20 kB / 340.3 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2771, allocations: 11.98 kB / 340.3 MB, free: 5.062 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2772, allocations: 194 kB / 340.5 MB, free: 4.875 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2773, allocations: 0 / 340.5 MB, free: 4.875 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.2777, allocations: 83.69 kB / 340.6 MB, free: 4.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.2778, allocations: 111.2 kB / 340.7 MB, free: 4.676 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.2782, allocations: 188.8 kB / 340.9 MB, free: 4.492 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2782, allocations: 8.062 kB / 340.9 MB, free: 4.484 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2783, allocations: 71.91 kB / 341 MB, free: 4.414 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2788, allocations: 32.88 kB / 341 MB, free: 4.383 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2799, allocations: 0.8143 MB / 341.8 MB, free: 3.539 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.2802, allocations: 0.7757 MB / 342.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.2803, allocations: 34.95 kB / 342.6 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.2804, allocations: 23.44 kB / 342.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2804, allocations: 4 kB / 342.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of Templates: time 0.005288/0.2857, allocations: 2.11 MB / 344.8 MB, free: 0.5664 MB / 270.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)