Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.000982, allocations: 105 kB / 16.45 MB, free: 6.391 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.0009722/0.0009722, allocations: 189 kB / 17.39 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0506/0.0506, allocations: 8.103 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 63.89 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1235, allocations: 51.51 MB / 466 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.003304/0.1269, allocations: 1.683 MB / 467.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1295, allocations: 1.571 MB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.1297, allocations: 4 kB / 469.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.1302, allocations: 127.3 kB / 469.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.1308, allocations: 127.1 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.1326, allocations: 0.9255 MB / 470.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.1331, allocations: 266.7 kB / 470.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.1333, allocations: 96.56 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1335, allocations: 103.6 kB / 470.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1338, allocations: 143.4 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.1338, allocations: 20 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.1343, allocations: 211.8 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1344, allocations: 51.78 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.1345, allocations: 127.3 kB / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.1351, allocations: 418.8 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1351, allocations: 0 / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1351, allocations: 0 / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1351, allocations: 0 / 471.8 MB, free: 12.32 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002607/0.1377, allocations: 0.8424 MB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1378, allocations: 12.03 kB / 472.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.1378, allocations: 32.56 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1382, allocations: 265.5 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1382, allocations: 16.81 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1383, allocations: 20.31 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.1388, allocations: 299.7 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1388, allocations: 192 / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.1389, allocations: 15.94 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1389, allocations: 4 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.1393, allocations: 273.6 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.141, allocations: 1.035 MB / 474.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.142, allocations: 458.5 kB / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.1422, allocations: 173.3 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/0.1423, allocations: 19.98 kB / 475.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1424, allocations: 42.44 kB / 475.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.1424, allocations: 0 / 475.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002972/0.1453, allocations: 0.9444 MB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.1454, allocations: 55.41 kB / 476.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1457, allocations: 232.6 kB / 476.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1457, allocations: 33.7 kB / 476.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.1458, allocations: 136.6 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/0.1459, allocations: 102.5 kB / 476.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1461, allocations: 73.64 kB / 476.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1462, allocations: 330.8 kB / 477.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.1465, allocations: 175.9 kB / 477.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.1468, allocations: 179.9 kB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.1474, allocations: 388.5 kB / 477.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1474, allocations: 4 kB / 477.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001391/0.1488, allocations: 0.6585 MB / 478.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1488, allocations: 7.938 kB / 478.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1489, allocations: 0 / 478.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.1499, allocations: 252.5 kB / 478.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1501, allocations: 55.91 kB / 478.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.1541, allocations: 2.692 MB / 481.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1544, allocations: 35.69 kB / 481.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1544, allocations: 11.94 kB / 481.6 MB, free: 2.066 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.1546, allocations: 149.8 kB / 481.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.1547, allocations: 19.72 kB / 481.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.1561, allocations: 0.61 MB / 482.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1561, allocations: 4 kB / 482.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1561, allocations: 0 / 482.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1562, allocations: 0 / 482.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.1581, allocations: 1.05 MB / 483.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1581, allocations: 0 / 483.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1582, allocations: 35.92 kB / 483.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.1592, allocations: 244.6 kB / 483.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.1592, allocations: 11.94 kB / 483.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/0.1628, allocations: 2.661 MB / 486.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1629, allocations: 0 / 486.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.1643, allocations: 0.6574 MB / 487.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.1644, allocations: 100.8 kB / 487.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.1644, allocations: 7.938 kB / 487.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1647, allocations: 24.31 kB / 487.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.1647, allocations: 19.97 kB / 487.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.1648, allocations: 8 kB / 487.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.165, allocations: 167 kB / 487.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.165, allocations: 0 / 487.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005144/0.1655, allocations: 107.9 kB / 487.5 MB, free: 11.94 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/0.1657, allocations: 115.2 kB / 487.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.1671, allocations: 0.6192 MB / 488.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.1671, allocations: 0 / 488.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.168, allocations: 410.5 kB / 488.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1684, allocations: 31.81 kB / 488.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1696, allocations: 0.513 MB / 489.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.17, allocations: 0.7524 MB / 489.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1702, allocations: 29.91 kB / 489.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.1702, allocations: 27.44 kB / 490 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1702, allocations: 0 / 490 MB, free: 9.371 MB / 366.1 MB Notification: Performance of Templates: time 0.01286/0.1831, allocations: 6.482 MB / 496.4 MB, free: 2.926 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)