Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 108.4 kB / 16.45 MB, free: 6.402 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.001271/0.001272, allocations: 186.4 kB / 17.38 MB, free: 5.648 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05388/0.05388, allocations: 8.103 MB / 299.3 MB, free: 6.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 414.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 51.51 MB / 466 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.003471/0.1238, allocations: 2.259 MB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.1263, allocations: 1.656 MB / 469.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1265, allocations: 11.94 kB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.127, allocations: 163 kB / 470.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.1274, allocations: 186.8 kB / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1292, allocations: 0.9647 MB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.1297, allocations: 418 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1299, allocations: 139.2 kB / 471.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1301, allocations: 175.3 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1304, allocations: 227 kB / 472.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1305, allocations: 32 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.1308, allocations: 219.8 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.1309, allocations: 83.62 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.1311, allocations: 195 kB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.1317, allocations: 0.5452 MB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1317, allocations: 0 / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1318, allocations: 0 / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1318, allocations: 0 / 473.2 MB, free: 10.88 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003928/0.1357, allocations: 1.146 MB / 474.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1358, allocations: 12.03 kB / 474.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1359, allocations: 40.47 kB / 474.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.1364, allocations: 331.4 kB / 474.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1364, allocations: 24.94 kB / 474.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.1365, allocations: 28.38 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.1372, allocations: 417.3 kB / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1373, allocations: 192 / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1373, allocations: 19.88 kB / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1373, allocations: 12 kB / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.138, allocations: 410.1 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1403, allocations: 1.542 MB / 477.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1414, allocations: 0.5436 MB / 477.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.1418, allocations: 285.5 kB / 478 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.082e-05/0.1419, allocations: 20.34 kB / 478 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.142, allocations: 38.94 kB / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.924e-06/0.142, allocations: 0 / 478 MB, free: 5.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004691/0.1467, allocations: 1.647 MB / 479.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1467, allocations: 55.41 kB / 479.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.1471, allocations: 274.6 kB / 480 MB, free: 3.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.1471, allocations: 37.7 kB / 480.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1473, allocations: 164.9 kB / 480.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.1474, allocations: 153.8 kB / 480.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.1476, allocations: 94.23 kB / 480.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1477, allocations: 338.8 kB / 480.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.1481, allocations: 265 kB / 481 MB, free: 2.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.1485, allocations: 276.9 kB / 481.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.1493, allocations: 0.5742 MB / 481.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1493, allocations: 4 kB / 481.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002347/0.1517, allocations: 1.028 MB / 482.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.1517, allocations: 4 kB / 482.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1517, allocations: 0 / 482.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.1536, allocations: 434.1 kB / 483.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.1539, allocations: 75.89 kB / 483.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.1611, allocations: 6.102 MB / 489.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.1616, allocations: 47.59 kB / 489.6 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.1616, allocations: 12 kB / 489.6 MB, free: 9.695 MB / 366.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.1618, allocations: 165.8 kB / 489.7 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.1619, allocations: 39.47 kB / 489.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.1643, allocations: 0.9937 MB / 490.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1643, allocations: 4 kB / 490.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1643, allocations: 0 / 490.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1643, allocations: 11.92 kB / 490.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.1649, allocations: 0.5675 MB / 491.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.165, allocations: 0 / 491.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.1652, allocations: 55.97 kB / 491.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.1669, allocations: 426 kB / 491.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.1669, allocations: 11.98 kB / 491.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006644/0.1736, allocations: 6.026 MB / 497.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.1736, allocations: 11.94 kB / 497.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.176, allocations: 1.013 MB / 498.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.1762, allocations: 116.6 kB / 499 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.1763, allocations: 19.84 kB / 499 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.1767, allocations: 23.98 kB / 499.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.1768, allocations: 52.3 kB / 499.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.1768, allocations: 16 kB / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.1771, allocations: 197.9 kB / 499.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1771, allocations: 0 / 499.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007459/0.1779, allocations: 167.9 kB / 499.5 MB, free: 15.25 MB / 382.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/0.1782, allocations: 127.2 kB / 499.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.1804, allocations: 1.095 MB / 0.489 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1804, allocations: 0 / 0.489 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.1818, allocations: 0.7562 MB / 0.4897 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.1823, allocations: 48.86 kB / 0.4897 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1837, allocations: 0.7456 MB / 0.4905 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.1842, allocations: 0.8011 MB / 0.4913 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.1844, allocations: 54.98 kB / 0.4913 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.1845, allocations: 35.42 kB / 0.4913 GB, free: 11.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1845, allocations: 0 / 0.4913 GB, free: 11.46 MB / 382.1 MB Notification: Performance of Templates: time 0.0179/0.2024, allocations: 10.95 MB / 0.502 GB, free: 0.5664 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)