Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001484, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.002374/0.002374, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.919/1.919, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.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.001264/0.001264, allocations: 51.91 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1405, allocations: 46.62 MB / 326.1 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01026/0.1508, allocations: 7.673 MB / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007299/0.1582, allocations: 2.684 MB / 336.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.1608, allocations: 51.69 kB / 336.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.1627, allocations: 489.4 kB / 337 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.1662, allocations: 0.6763 MB / 337.7 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1677, allocations: 387.6 kB / 338.1 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.1729, allocations: 3.39 MB / 341.5 MB, free: 5.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.1773, allocations: 3.43 MB / 344.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.1818, allocations: 1.666 MB / 346.6 MB, free: 228 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00448/0.1863, allocations: 2.071 MB / 348.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009605/0.1873, allocations: 460 kB / 349.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.1891, allocations: 0.6675 MB / 349.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.1904, allocations: 1.243 MB / 351 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002843/0.1933, allocations: 1.976 MB / 353 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006695/0.2, allocations: 6.037 MB / 359 MB, free: 3.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.2, allocations: 4 kB / 359 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2, allocations: 0 / 359 MB, free: 3.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002014/0.2002, allocations: 0 / 359 MB, free: 3.738 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01095/0.2112, allocations: 3.767 MB / 362.8 MB, free: 15.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.931e-05/0.2113, allocations: 8.031 kB / 362.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.2128, allocations: 396.5 kB / 363.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.2165, allocations: 1.952 MB / 365.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.2167, allocations: 225.8 kB / 365.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/0.2171, allocations: 287.9 kB / 365.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.2244, allocations: 4.187 MB / 369.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.2245, allocations: 3.938 kB / 369.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.2248, allocations: 124 kB / 369.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.225, allocations: 141.9 kB / 370.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005877/0.2309, allocations: 3.478 MB / 373.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2896/0.5205, allocations: 10.94 MB / 384.5 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.5242, allocations: 2.641 MB / 387.1 MB, free: 44.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.5271, allocations: 1.478 MB / 388.6 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.5274, allocations: 124.1 kB / 388.7 MB, free: 44.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.5275, allocations: 49.78 kB / 388.8 MB, free: 44.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.208e-06/0.5275, allocations: 0 / 388.8 MB, free: 44.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01066/0.5382, allocations: 5.289 MB / 394.1 MB, free: 41.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.5383, allocations: 96.7 kB / 394.2 MB, free: 41.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.5416, allocations: 1.914 MB / 396.1 MB, free: 40.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.5418, allocations: 49.39 kB / 396.1 MB, free: 40.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009213/0.5427, allocations: 1.323 MB / 397.5 MB, free: 39.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.5431, allocations: 451.4 kB / 397.9 MB, free: 39.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/0.5436, allocations: 273.7 kB / 398.2 MB, free: 39.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.5437, allocations: 301.1 kB / 398.5 MB, free: 38.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.5449, allocations: 0.8147 MB / 399.3 MB, free: 38.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.5465, allocations: 1.19 MB / 400.5 MB, free: 37.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.5492, allocations: 2.086 MB / 402.5 MB, free: 36.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.5493, allocations: 11.45 kB / 402.6 MB, free: 36.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006086/0.5554, allocations: 2.538 MB / 405.1 MB, free: 34.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.5555, allocations: 11.09 kB / 405.1 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.5555, allocations: 7.406 kB / 405.1 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.5577, allocations: 485.1 kB / 405.6 MB, free: 34.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.5591, allocations: 335.5 kB / 405.9 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/0.5638, allocations: 4.399 MB / 410.3 MB, free: 29.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.5654, allocations: 83.98 kB / 410.4 MB, free: 29.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.5656, allocations: 63.98 kB / 410.5 MB, free: 29.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002152/0.5678, allocations: 1.048 MB / 411.5 MB, free: 28.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/0.5684, allocations: 193.7 kB / 411.7 MB, free: 28.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.5716, allocations: 2.148 MB / 413.8 MB, free: 26.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/0.5716, allocations: 16 kB / 413.9 MB, free: 26.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5716, allocations: 4 kB / 413.9 MB, free: 26.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5716, allocations: 7.969 kB / 413.9 MB, free: 26.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008581/0.5802, allocations: 5.193 MB / 419.1 MB, free: 20.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.5803, allocations: 0 / 419.1 MB, free: 20.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009062/0.5812, allocations: 227.6 kB / 419.3 MB, free: 20.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.5829, allocations: 461.3 kB / 419.7 MB, free: 20.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.583, allocations: 32.97 kB / 419.8 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.5872, allocations: 4.302 MB / 424.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5872, allocations: 4 kB / 424.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.5914, allocations: 3.253 MB / 427.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/0.5924, allocations: 454.8 kB / 427.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/0.5928, allocations: 28 kB / 427.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.5941, allocations: 102.8 kB / 427.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.5943, allocations: 96.8 kB / 428 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.5944, allocations: 36 kB / 428 MB, free: 11.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.5963, allocations: 1.338 MB / 429.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5963, allocations: 0 / 429.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00202/0.5983, allocations: 0.5619 MB / 429.9 MB, free: 9.848 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006005/0.5989, allocations: 215.9 kB / 430.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.6034, allocations: 2.87 MB / 433 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6035, allocations: 0.75 kB / 433 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.6051, allocations: 1.224 MB / 434.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.6074, allocations: 0.5082 MB / 434.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6176, allocations: 7.051 MB / 441.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/0.6206, allocations: 2.42 MB / 444.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001914/0.6225, allocations: 499.4 kB / 444.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.6231, allocations: 135.4 kB / 444.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of SimCode: time 1.964e-06/0.6232, allocations: 4 kB / 444.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Templates: time 0.05826/0.6814, allocations: 30.09 MB / 474.9 MB, free: 12.74 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)