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.001069/0.001074, allocations: 106.8 kB / 16.45 MB, free: 6.445 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.001104/0.001104, allocations: 188.3 kB / 17.38 MB, free: 5.668 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05285/0.05285, allocations: 8.106 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09422, allocations: 51.52 MB / 466 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002949/0.09722, allocations: 1.566 MB / 467.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.09943, allocations: 1.563 MB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.09952, allocations: 4 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.09987, allocations: 123.3 kB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1002, allocations: 111.2 kB / 469.4 MB, free: 14.76 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.001732/0.1019, allocations: 0.914 MB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.1023, allocations: 250.8 kB / 470.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1025, allocations: 80.33 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1027, allocations: 107.6 kB / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1029, allocations: 127.5 kB / 470.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.1029, allocations: 20 kB / 470.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.1033, allocations: 203.8 kB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1034, allocations: 51.77 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.1036, allocations: 119.4 kB / 471.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.1042, allocations: 394.6 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1043, allocations: 4 kB / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1043, allocations: 0 / 471.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1043, allocations: 4 kB / 471.6 MB, free: 12.51 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.002617/0.1069, allocations: 0.8296 MB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1069, allocations: 11.97 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.107, allocations: 28.8 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1074, allocations: 265.6 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1074, allocations: 12.38 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1075, allocations: 20.38 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.1079, allocations: 261.9 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1079, allocations: 192 / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1079, allocations: 7.938 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.108, allocations: 4 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.1083, allocations: 263.6 kB / 473.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1099, allocations: 1.137 MB / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.1104, allocations: 299.2 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.1107, allocations: 161.3 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.177e-05/0.1108, allocations: 12.22 kB / 474.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.1112, allocations: 215.5 kB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.356e-06/0.1112, allocations: 0 / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002884/0.1141, allocations: 0.9451 MB / 476 MB, free: 7.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1142, allocations: 55.41 kB / 476.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1144, allocations: 187 kB / 476.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.1144, allocations: 33.7 kB / 476.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1145, allocations: 121 kB / 476.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.1146, allocations: 107 kB / 476.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1147, allocations: 61.44 kB / 476.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1149, allocations: 338.8 kB / 476.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1151, allocations: 152 kB / 477.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1154, allocations: 182.9 kB / 477.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.1159, allocations: 366.2 kB / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1159, allocations: 0 / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001591/0.1175, allocations: 0.6461 MB / 478.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1176, allocations: 8 kB / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1176, allocations: 0 / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.1191, allocations: 336.5 kB / 478.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1194, allocations: 55.91 kB / 478.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.1232, allocations: 2.645 MB / 481.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.1234, allocations: 19.91 kB / 481.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1235, allocations: 15.98 kB / 481.3 MB, free: 2.27 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.0001419/0.1236, allocations: 141.8 kB / 481.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.1237, allocations: 23.8 kB / 481.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.1254, allocations: 0.6564 MB / 482.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1254, allocations: 7.938 kB / 482.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1254, allocations: 0 / 482.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1254, allocations: 3.984 kB / 482.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1259, allocations: 397.2 kB / 482.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1259, allocations: 0 / 482.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.1261, allocations: 39.92 kB / 482.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.1275, allocations: 336.5 kB / 482.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1276, allocations: 12 kB / 482.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.1313, allocations: 2.602 MB / 485.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1313, allocations: 0 / 485.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.1329, allocations: 0.6387 MB / 486.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1329, allocations: 104.8 kB / 486.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.133, allocations: 8 kB / 486.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1332, allocations: 23.92 kB / 486.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.1333, allocations: 19.97 kB / 486.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.1333, allocations: 12 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1334, allocations: 135.2 kB / 486.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1334, allocations: 0 / 486.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.1338, allocations: 95.94 kB / 486.6 MB, free: 12.79 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.0001823/0.134, allocations: 119.3 kB / 486.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1353, allocations: 0.6166 MB / 487.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1354, allocations: 4.062 kB / 487.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009797/0.1363, allocations: 442.3 kB / 487.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1366, allocations: 30.69 kB / 487.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/0.1374, allocations: 0.5204 MB / 488.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1377, allocations: 0.7532 MB / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1379, allocations: 29.92 kB / 489.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.138, allocations: 27.42 kB / 489.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.138, allocations: 0 / 489.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00942/0.1474, allocations: 5.955 MB / 495 MB, free: 4.242 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)