Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 102.7 kB / 16.5 MB, free: 6.688 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.001411/0.001411, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.443/1.443, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001639/0.001639, allocations: 43.94 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.103, allocations: 46.62 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006521/0.1095, allocations: 5.853 MB / 331.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.1132, allocations: 1.901 MB / 333.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.1136, allocations: 20 kB / 333.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003076/0.1166, allocations: 1.533 MB / 335.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.1184, allocations: 0.7586 MB / 336 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.1191, allocations: 251.6 kB / 336.3 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008934/0.12, allocations: 0.8521 MB / 337.1 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1213, allocations: 0.8105 MB / 337.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.1218, allocations: 366.5 kB / 338.3 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.1223, allocations: 0.5213 MB / 338.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.734e-05/0.1224, allocations: 64 kB / 338.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.1229, allocations: 219.8 kB / 339.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1231, allocations: 187.3 kB / 339.3 MB, free: 7.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.1235, allocations: 449.7 kB / 339.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1248, allocations: 1.203 MB / 340.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1249, allocations: 0 / 340.9 MB, free: 5.844 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1249, allocations: 4 kB / 340.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.1249, allocations: 11.88 kB / 340.9 MB, free: 5.828 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003541/0.1285, allocations: 1.417 MB / 342.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1285, allocations: 12.03 kB / 342.4 MB, free: 4.348 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00699/0.1355, allocations: 0.9637 MB / 343.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.1363, allocations: 454.9 kB / 343.8 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.1363, allocations: 82.55 kB / 343.8 MB, free: 2.816 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.1365, allocations: 104.4 kB / 343.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.1384, allocations: 1.129 MB / 345.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.1385, allocations: 4 kB / 345.1 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1386, allocations: 47.98 kB / 345.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.1386, allocations: 28 kB / 345.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.1405, allocations: 1.132 MB / 346.3 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005705/0.1462, allocations: 3.956 MB / 350.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.1502, allocations: 3.763 MB / 354 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.1508, allocations: 316.6 kB / 354.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.1509, allocations: 97.66 kB / 354.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.151, allocations: 47.06 kB / 354.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.587e-06/0.151, allocations: 0 / 354.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001579/0.1526, allocations: 0.7561 MB / 355.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1526, allocations: 111.6 kB / 355.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.153, allocations: 332.2 kB / 355.6 MB, free: 5.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.153, allocations: 37.7 kB / 355.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.1533, allocations: 445.9 kB / 356.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1535, allocations: 244.5 kB / 356.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.1537, allocations: 170.5 kB / 356.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1538, allocations: 354.8 kB / 356.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.1543, allocations: 245.9 kB / 357.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.1551, allocations: 0.5591 MB / 357.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.1563, allocations: 0.8793 MB / 358.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.1563, allocations: 4 kB / 358.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001465/0.1578, allocations: 0.8949 MB / 359.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1578, allocations: 11.94 kB / 359.5 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.1579, allocations: 15.98 kB / 359.5 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.1579, allocations: 16 kB / 359.5 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.1587, allocations: 240.3 kB / 359.7 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.1588, allocations: 19.94 kB / 359.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.1592, allocations: 110.9 kB / 359.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.1593, allocations: 44 kB / 359.9 MB, free: 1.406 MB / 302.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 (122): * Single equations (assignments): 122 * 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.0003209/0.1596, allocations: 233.5 kB / 360.1 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1598, allocations: 59.36 kB / 360.2 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.161, allocations: 0.6861 MB / 360.9 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.161, allocations: 11.94 kB / 360.9 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.161, allocations: 3.938 kB / 360.9 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1611, allocations: 3.984 kB / 360.9 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.1634, allocations: 1.582 MB / 362.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.1635, allocations: 7.938 kB / 362.5 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.1641, allocations: 155.8 kB / 362.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1641, allocations: 4 kB / 362.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.1641, allocations: 15.98 kB / 362.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1642, allocations: 4 kB / 362.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1642, allocations: 0 / 362.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.1659, allocations: 1.158 MB / 363.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1661, allocations: 132.3 kB / 363.9 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.1661, allocations: 12 kB / 364 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.1665, allocations: 27.98 kB / 364 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1666, allocations: 48.53 kB / 364 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.1667, allocations: 16 kB / 364 MB, free: 13.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.1669, allocations: 219.1 kB / 364.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1669, allocations: 0 / 364.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008215/0.1677, allocations: 247.1 kB / 364.5 MB, free: 12.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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.000249/0.168, allocations: 143.1 kB / 364.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1693, allocations: 0.6861 MB / 365.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1693, allocations: 3.938 kB / 365.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.1698, allocations: 319.6 kB / 365.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.1704, allocations: 50.42 kB / 365.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.173, allocations: 1.821 MB / 367.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.1735, allocations: 0.9244 MB / 368.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004079/0.1739, allocations: 88.89 kB / 368.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.174, allocations: 51.44 kB / 368.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.174, allocations: 0 / 368.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of Templates: time 0.009615/0.1837, allocations: 4.845 MB / 373.4 MB, free: 3.703 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)