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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 99.06 kB / 16.44 MB, free: 6.5 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.001634/0.001634, allocations: 192 kB / 17.38 MB, free: 5.715 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05403/0.05403, allocations: 8.096 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 51.52 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002537/0.1052, allocations: 1.558 MB / 467.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.1074, allocations: 1.551 MB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1075, allocations: 4 kB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.108, allocations: 127.3 kB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1083, allocations: 115.2 kB / 469.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.1099, allocations: 0.9101 MB / 470.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.1102, allocations: 238.8 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1104, allocations: 80.36 kB / 470.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1105, allocations: 95.58 kB / 470.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1107, allocations: 135.4 kB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.1108, allocations: 20 kB / 470.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.1111, allocations: 203.8 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1112, allocations: 55.7 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1113, allocations: 103.5 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.1118, allocations: 386.9 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1118, allocations: 7.938 kB / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1118, allocations: 0 / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1118, allocations: 0 / 471.5 MB, free: 12.58 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.002339/0.1142, allocations: 0.8111 MB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1142, allocations: 12.03 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.1143, allocations: 24.66 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1146, allocations: 251.9 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1146, allocations: 16.7 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.1146, allocations: 20.38 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.115, allocations: 260 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1151, allocations: 192 / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.1151, allocations: 15.94 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1151, allocations: 4 kB / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.1155, allocations: 243.8 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.1169, allocations: 1.117 MB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.1176, allocations: 314.4 kB / 474.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1178, allocations: 162.1 kB / 474.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1179, allocations: 7.938 kB / 474.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1179, allocations: 34.56 kB / 474.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1179, allocations: 0 / 474.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003248/0.1212, allocations: 0.9865 MB / 475.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1212, allocations: 51.41 kB / 475.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1214, allocations: 190.3 kB / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1214, allocations: 33.7 kB / 476.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.1215, allocations: 136.4 kB / 476.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.1216, allocations: 82.73 kB / 476.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.1217, allocations: 65.69 kB / 476.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1218, allocations: 330.8 kB / 476.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1221, allocations: 152 kB / 476.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.1223, allocations: 163.8 kB / 477 MB, free: 6.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.1228, allocations: 343.7 kB / 477.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1228, allocations: 0 / 477.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001535/0.1243, allocations: 0.6495 MB / 478 MB, free: 5.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1244, allocations: 4 kB / 478 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1244, allocations: 4 kB / 478 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.1258, allocations: 328.5 kB / 478.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.126, allocations: 47.91 kB / 478.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/0.1302, allocations: 2.739 MB / 481.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.1305, allocations: 31.69 kB / 481.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1305, allocations: 15.92 kB / 481.1 MB, free: 2.516 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 (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.0001477/0.1307, allocations: 133.8 kB / 481.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.1307, allocations: 19.81 kB / 481.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.1323, allocations: 0.621 MB / 481.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1323, allocations: 4 kB / 481.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1323, allocations: 3.938 kB / 481.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1323, allocations: 0 / 481.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1327, allocations: 389.1 kB / 482.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1327, allocations: 0 / 482.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1329, allocations: 31.92 kB / 482.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.1342, allocations: 312.5 kB / 482.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1342, allocations: 7.984 kB / 482.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.1381, allocations: 2.72 MB / 485.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1381, allocations: 3.938 kB / 485.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.1396, allocations: 0.676 MB / 486 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.1396, allocations: 104.8 kB / 486.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1397, allocations: 4 kB / 486.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1399, allocations: 12 kB / 486.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.14, allocations: 19.97 kB / 486.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.14, allocations: 8 kB / 486.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1401, allocations: 151.4 kB / 486.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1401, allocations: 0 / 486.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.1406, allocations: 99.91 kB / 486.4 MB, free: 12.97 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/0.1408, allocations: 111.3 kB / 486.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1422, allocations: 0.6314 MB / 487.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1422, allocations: 4 kB / 487.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.1431, allocations: 442.2 kB / 487.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1435, allocations: 34.81 kB / 487.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.1443, allocations: 492.4 kB / 488.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1447, allocations: 0.7485 MB / 488.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1448, allocations: 29.92 kB / 488.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.1449, allocations: 27.42 kB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1449, allocations: 0 / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of Templates: time 0.01007/0.1549, allocations: 6.03 MB / 494.9 MB, free: 4.391 MB / 366.1 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)