Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 109.5 kB / 290.6 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04615/0.04615, allocations: 8.096 MB / 348.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 58.69 kB / 411.1 MB, free: 57.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1126, allocations: 51.52 MB / 462.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002934/0.1156, allocations: 1.607 MB / 464.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1177, allocations: 1.536 MB / 465.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.1178, allocations: 4 kB / 465.8 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.1183, allocations: 107.6 kB / 465.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1186, allocations: 103.4 kB / 466 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1204, allocations: 0.8982 MB / 466.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1207, allocations: 226.9 kB / 467.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.121, allocations: 72.2 kB / 467.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1211, allocations: 87.64 kB / 467.2 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1213, allocations: 115.5 kB / 467.3 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.1213, allocations: 16 kB / 467.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.1218, allocations: 199.8 kB / 467.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.1219, allocations: 43.77 kB / 467.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.122, allocations: 107.5 kB / 467.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.1225, allocations: 391.1 kB / 468.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1225, allocations: 0 / 468.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1226, allocations: 0 / 468.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1226, allocations: 0 / 468.1 MB, free: 0.5352 MB / 298.7 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.003182/0.1258, allocations: 0.8072 MB / 468.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1258, allocations: 15.97 kB / 468.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.1259, allocations: 24.66 kB / 468.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.1263, allocations: 256.4 kB / 469.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1263, allocations: 12.7 kB / 469.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.1264, allocations: 20.38 kB / 469.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.127, allocations: 256 kB / 469.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.127, allocations: 192 / 469.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.127, allocations: 11.94 kB / 469.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1271, allocations: 8 kB / 469.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.1276, allocations: 251.8 kB / 469.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.1295, allocations: 1.113 MB / 470.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.1305, allocations: 315.1 kB / 471.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.1308, allocations: 156.8 kB / 471.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.734e-05/0.1309, allocations: 16.41 kB / 471.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1309, allocations: 34.56 kB / 471.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/0.1309, allocations: 0 / 471.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.004423/0.1354, allocations: 0.9729 MB / 472.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1354, allocations: 55.41 kB / 472.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1357, allocations: 196.4 kB / 472.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.1358, allocations: 33.7 kB / 472.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1359, allocations: 124.4 kB / 472.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.136, allocations: 86.75 kB / 472.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1362, allocations: 57.69 kB / 472.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1364, allocations: 330.8 kB / 473.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.1367, allocations: 160 kB / 473.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.1371, allocations: 156.1 kB / 473.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.1379, allocations: 357.7 kB / 473.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.138, allocations: 0 / 473.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002472/0.1404, allocations: 0.6348 MB / 474.5 MB, free: 9.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1405, allocations: 8 kB / 474.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1405, allocations: 3.984 kB / 474.5 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.1428, allocations: 320.5 kB / 474.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.143, allocations: 43.98 kB / 474.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.1485, allocations: 2.56 MB / 477.4 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.1488, allocations: 31.69 kB / 477.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.1489, allocations: 8 kB / 477.5 MB, free: 6.715 MB / 314.7 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.1491, allocations: 145.7 kB / 477.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.1492, allocations: 15.81 kB / 477.6 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.1514, allocations: 0.6176 MB / 478.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1515, allocations: 8 kB / 478.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1515, allocations: 3.984 kB / 478.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1515, allocations: 3.984 kB / 478.2 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.1521, allocations: 389.1 kB / 478.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1521, allocations: 0 / 478.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1523, allocations: 35.92 kB / 478.7 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.1545, allocations: 312.7 kB / 479 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.1545, allocations: 8 kB / 479 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/0.1603, allocations: 2.508 MB / 481.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1603, allocations: 3.938 kB / 481.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.1636, allocations: 1.432 MB / 482.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.1637, allocations: 96.84 kB / 483 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.1637, allocations: 8 kB / 483 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.1641, allocations: 18.73 kB / 483 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1642, allocations: 23.97 kB / 483.1 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.1643, allocations: 7.938 kB / 483.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.1645, allocations: 151.1 kB / 483.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1645, allocations: 0 / 483.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009974/0.1655, allocations: 95.91 kB / 483.3 MB, free: 0.5742 MB / 314.7 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002531/0.1658, allocations: 119.2 kB / 483.4 MB, free: 460 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.1979/0.3637, allocations: 0.6093 MB / 484 MB, free: 28.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.3637, allocations: 0.5938 kB / 484 MB, free: 28.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.3651, allocations: 430.3 kB / 484.5 MB, free: 28.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3655, allocations: 26.95 kB / 484.5 MB, free: 28.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.3665, allocations: 0.766 MB / 485.3 MB, free: 27.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.3667, allocations: 0.7523 MB / 486 MB, free: 27.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3668, allocations: 29.86 kB / 486 MB, free: 27.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.3669, allocations: 23.92 kB / 486.1 MB, free: 27.21 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3669, allocations: 4.719 kB / 486.1 MB, free: 27.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01142/0.3783, allocations: 5.884 MB / 491.9 MB, free: 26.92 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)