Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 107.9 kB / 16.45 MB, free: 6.434 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.001367/0.001367, allocations: 187 kB / 17.38 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05423/0.05423, allocations: 8.091 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1325, allocations: 51.51 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.003179/0.1357, allocations: 1.617 MB / 467.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.1381, allocations: 1.555 MB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.1383, allocations: 7.938 kB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.1387, allocations: 127.3 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.1392, allocations: 147.1 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.1412, allocations: 1.019 MB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.1417, allocations: 254.8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1419, allocations: 68.36 kB / 470.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1421, allocations: 111.6 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1424, allocations: 123.5 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.1424, allocations: 19.94 kB / 471 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.1429, allocations: 243.7 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.143, allocations: 43.84 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1431, allocations: 119.4 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.1438, allocations: 414.8 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1439, allocations: 0 / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1439, allocations: 7.922 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1439, allocations: 0 / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003547/0.1474, allocations: 0.9905 MB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1475, allocations: 12.03 kB / 472.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.546e-05/0.1476, allocations: 28.66 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.148, allocations: 264.2 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.148, allocations: 20.64 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.1481, allocations: 20.38 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1486, allocations: 294.6 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1486, allocations: 192 / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.1486, allocations: 15.94 kB / 473.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1487, allocations: 11.98 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1491, allocations: 239.9 kB / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1508, allocations: 1.164 MB / 474.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/0.1514, allocations: 314.4 kB / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1516, allocations: 154.1 kB / 475.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.1517, allocations: 23.91 kB / 475.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1517, allocations: 34.56 kB / 475.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.472e-06/0.1517, allocations: 0 / 475.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003616/0.1553, allocations: 1.065 MB / 476.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.1554, allocations: 106.8 kB / 476.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1556, allocations: 222.8 kB / 476.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.1557, allocations: 29.7 kB / 476.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.1558, allocations: 128.8 kB / 476.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.1558, allocations: 86.73 kB / 477 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.156, allocations: 73.67 kB / 477.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1561, allocations: 330.8 kB / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.1564, allocations: 180.2 kB / 477.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.1567, allocations: 218.4 kB / 477.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.1573, allocations: 373.5 kB / 478.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1573, allocations: 0 / 478.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002003/0.1593, allocations: 0.7513 MB / 478.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1593, allocations: 4 kB / 478.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1593, allocations: 3.984 kB / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.1613, allocations: 420.4 kB / 479.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1616, allocations: 59.91 kB / 479.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.166, allocations: 2.722 MB / 482.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.1663, allocations: 43.61 kB / 482.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1664, allocations: 8 kB / 482.2 MB, free: 1.449 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.1665, allocations: 153.8 kB / 482.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.1666, allocations: 19.81 kB / 482.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.1685, allocations: 0.7027 MB / 483 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1686, allocations: 0 / 483 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1686, allocations: 0 / 483 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1686, allocations: 4 kB / 483 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.169, allocations: 397.1 kB / 483.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.169, allocations: 0 / 483.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1692, allocations: 39.92 kB / 483.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.171, allocations: 416.4 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.171, allocations: 4 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.1749, allocations: 2.695 MB / 486.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1749, allocations: 4 kB / 486.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.1768, allocations: 0.7385 MB / 487.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1769, allocations: 104.8 kB / 487.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.177, allocations: 8 kB / 487.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.1772, allocations: 23.92 kB / 487.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1773, allocations: 19.97 kB / 487.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.1773, allocations: 8 kB / 487.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1775, allocations: 160.4 kB / 487.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1775, allocations: 0 / 487.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.1779, allocations: 111.9 kB / 487.7 MB, free: 11.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (22): * Single equations (assignments): 21 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.1781, allocations: 127.3 kB / 487.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.1796, allocations: 0.6159 MB / 488.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.1796, allocations: 0 / 488.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.1806, allocations: 418.3 kB / 488.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.181, allocations: 39.31 kB / 488.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.182, allocations: 0.5005 MB / 489.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1823, allocations: 0.7485 MB / 490.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.1825, allocations: 33.92 kB / 490.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.1825, allocations: 27.42 kB / 490.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1826, allocations: 0 / 490.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of Templates: time 0.01207/0.1946, allocations: 7.154 MB / 497.4 MB, free: 1.902 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)