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.001017/0.001017, allocations: 103.5 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.0009492/0.0009492, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.431/1.431, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00136/0.00136, allocations: 47.94 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007492/0.1155, allocations: 5.857 MB / 332 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.1197, allocations: 1.885 MB / 333.9 MB, free: 13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009345/0.1207, allocations: 16 kB / 333.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.1247, allocations: 1.537 MB / 335.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.127, allocations: 0.7507 MB / 336.2 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.1276, allocations: 247.6 kB / 336.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1286, allocations: 0.8873 MB / 337.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.13, allocations: 0.9928 MB / 338.3 MB, free: 8.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.1304, allocations: 390.5 kB / 338.7 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.131, allocations: 0.537 MB / 339.2 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1311, allocations: 84 kB / 339.3 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.1316, allocations: 243.8 kB / 339.5 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1318, allocations: 207.2 kB / 339.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.1322, allocations: 461.7 kB / 340.2 MB, free: 6.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.1337, allocations: 1.226 MB / 341.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1337, allocations: 3.938 kB / 341.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1338, allocations: 0 / 341.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.1338, allocations: 3.938 kB / 341.4 MB, free: 5.398 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.003436/0.1372, allocations: 1.417 MB / 342.8 MB, free: 3.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1373, allocations: 12.03 kB / 342.9 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006783/0.144, allocations: 0.9637 MB / 343.8 MB, free: 2.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.1449, allocations: 447 kB / 344.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.1449, allocations: 82.55 kB / 344.3 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1451, allocations: 112.3 kB / 344.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.1472, allocations: 1.129 MB / 345.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.1473, allocations: 4 kB / 345.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.1474, allocations: 44 kB / 345.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.1474, allocations: 28 kB / 345.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.1493, allocations: 1.136 MB / 346.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.1545, allocations: 3.96 MB / 350.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.1577, allocations: 3.756 MB / 354.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.1582, allocations: 320.6 kB / 354.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.1583, allocations: 97.58 kB / 354.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1584, allocations: 47.06 kB / 355 MB, free: 6.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.445e-06/0.1584, allocations: 4 kB / 355 MB, free: 6.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001365/0.1597, allocations: 0.7522 MB / 355.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.1598, allocations: 115.4 kB / 355.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.1602, allocations: 328.2 kB / 356.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.1602, allocations: 37.7 kB / 356.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.1605, allocations: 450.1 kB / 356.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.1606, allocations: 236.5 kB / 356.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.1609, allocations: 174.5 kB / 357 MB, free: 4.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1611, allocations: 354.8 kB / 357.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1615, allocations: 245.9 kB / 357.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.1621, allocations: 0.5591 MB / 358.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.1632, allocations: 0.8754 MB / 359 MB, free: 2.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.1632, allocations: 4 kB / 359.1 MB, free: 2.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001314/0.1645, allocations: 0.8992 MB / 359.9 MB, free: 1.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1645, allocations: 15.94 kB / 360 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1646, allocations: 8 kB / 360 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.1646, allocations: 16 kB / 360 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.1653, allocations: 239.6 kB / 360.2 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.1654, allocations: 23.92 kB / 360.2 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.1658, allocations: 103.2 kB / 360.3 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.1659, allocations: 47.98 kB / 360.4 MB, free: 0.9805 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.0002899/0.1662, allocations: 233.5 kB / 360.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1663, allocations: 55.31 kB / 360.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.1674, allocations: 0.6861 MB / 361.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.1675, allocations: 8 kB / 361.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1675, allocations: 11.94 kB / 361.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1675, allocations: 7.938 kB / 361.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.1697, allocations: 1.582 MB / 363 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1697, allocations: 3.938 kB / 363 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/0.1703, allocations: 147.8 kB / 363.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1703, allocations: 4 kB / 363.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.1704, allocations: 16 kB / 363.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1704, allocations: 8 kB / 363.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1704, allocations: 3.938 kB / 363.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.1719, allocations: 1.158 MB / 364.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.172, allocations: 132.5 kB / 364.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1722, allocations: 16 kB / 364.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.1726, allocations: 19.98 kB / 364.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.1727, allocations: 48.59 kB / 364.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.1728, allocations: 23.98 kB / 364.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.173, allocations: 207.1 kB / 364.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.173, allocations: 0 / 364.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009991/0.174, allocations: 255 kB / 365 MB, free: 12.27 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.0002328/0.1742, allocations: 147.1 kB / 365.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.1757, allocations: 0.7223 MB / 365.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1757, allocations: 8.062 kB / 365.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.1762, allocations: 315.6 kB / 366.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.1769, allocations: 60.91 kB / 366.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.1795, allocations: 1.8 MB / 368 MB, free: 9.184 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.18, allocations: 0.9241 MB / 369 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.1804, allocations: 96.88 kB / 369.1 MB, free: 8.137 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1805, allocations: 55.42 kB / 369.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1805, allocations: 0 / 369.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of Templates: time 0.01044/0.191, allocations: 5.068 MB / 374.2 MB, free: 3.012 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)