Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, 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.00151/0.00151, 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.448/1.448, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06004/0.06004, allocations: 8.101 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.88 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1109, allocations: 51.51 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002684/0.1137, allocations: 1.574 MB / 467.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1157, allocations: 1.563 MB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.1158, allocations: 4 kB / 469.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.1162, allocations: 119.3 kB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1166, allocations: 119.2 kB / 469.4 MB, free: 14.78 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1182, allocations: 0.9178 MB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1186, allocations: 246.8 kB / 470.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1188, allocations: 80.33 kB / 470.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1189, allocations: 107.6 kB / 470.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1191, allocations: 131.5 kB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.1192, allocations: 20 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.1196, allocations: 203.8 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1196, allocations: 51.77 kB / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1198, allocations: 115.4 kB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.1203, allocations: 398.9 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1203, allocations: 0 / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1203, allocations: 4 kB / 471.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1203, allocations: 0 / 471.6 MB, free: 12.53 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002462/0.1228, allocations: 0.8184 MB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1228, allocations: 8.031 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.1229, allocations: 28.66 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1232, allocations: 257.6 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1233, allocations: 12.38 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.1233, allocations: 24.38 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1237, allocations: 261.9 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1237, allocations: 4.125 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1238, allocations: 7.938 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1238, allocations: 4 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.1242, allocations: 251.7 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1258, allocations: 1.14 MB / 474.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.1263, allocations: 303.2 kB / 474.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.1266, allocations: 161.3 kB / 474.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.529e-05/0.1267, allocations: 12.23 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.1273, allocations: 219.5 kB / 475.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.1273, allocations: 0 / 475.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002873/0.1302, allocations: 0.9217 MB / 476 MB, free: 7.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1302, allocations: 59.34 kB / 476.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1305, allocations: 191.1 kB / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1305, allocations: 37.7 kB / 476.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.1306, allocations: 124.8 kB / 476.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.1307, allocations: 98.58 kB / 476.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.1308, allocations: 61.44 kB / 476.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.131, allocations: 330.8 kB / 476.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.1312, allocations: 151.9 kB / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1315, allocations: 186.9 kB / 477.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.132, allocations: 370.2 kB / 477.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.132, allocations: 0 / 477.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001597/0.1336, allocations: 0.6421 MB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1337, allocations: 8 kB / 478.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1337, allocations: 3.984 kB / 478.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.1352, allocations: 336.5 kB / 478.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.1355, allocations: 55.92 kB / 478.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.1395, allocations: 2.637 MB / 481.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.1398, allocations: 15.91 kB / 481.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.1398, allocations: 16 kB / 481.3 MB, free: 2.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.14, allocations: 141.8 kB / 481.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.1401, allocations: 23.66 kB / 481.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.1418, allocations: 0.6564 MB / 482.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.1418, allocations: 7.938 kB / 482.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1418, allocations: 8.125 kB / 482.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1419, allocations: 0 / 482.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.1423, allocations: 401.1 kB / 482.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1423, allocations: 0 / 482.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1424, allocations: 39.92 kB / 482.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.1439, allocations: 332.5 kB / 482.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.1439, allocations: 11.98 kB / 482.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/0.1477, allocations: 2.605 MB / 485.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1477, allocations: 0 / 485.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.1493, allocations: 0.6386 MB / 486.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1494, allocations: 108.7 kB / 486.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1494, allocations: 4 kB / 486.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1497, allocations: 15.98 kB / 486.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1498, allocations: 31.84 kB / 486.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.1498, allocations: 12 kB / 486.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.15, allocations: 135.2 kB / 486.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.15, allocations: 0 / 486.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005794/0.1506, allocations: 95.94 kB / 486.5 MB, free: 12.84 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.1509, allocations: 115.2 kB / 486.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.1526, allocations: 0.6166 MB / 487.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1527, allocations: 0 / 487.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.1537, allocations: 446.5 kB / 487.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1541, allocations: 41.8 kB / 487.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1552, allocations: 0.4988 MB / 488.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.1556, allocations: 0.7493 MB / 489 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1558, allocations: 33.92 kB / 489 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.1559, allocations: 23.44 kB / 489 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1559, allocations: 0 / 489 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01359/0.1695, allocations: 5.967 MB / 495 MB, free: 4.305 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)