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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001602/0.001602, allocations: 103.7 kB / 16.57 MB, free: 6.262 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.001727/0.001727, allocations: 192.8 kB / 17.49 MB, free: 5.875 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.382/1.382, allocations: 222.9 MB / 241.2 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0462/0.0462, allocations: 8.109 MB / 299.4 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 361.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2224, allocations: 51.51 MB / 413.2 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.00228/0.2247, allocations: 1.615 MB / 414.8 MB, free: 24.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2263, allocations: 1.551 MB / 416.4 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.2264, allocations: 4 kB / 416.4 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.2267, allocations: 103.6 kB / 416.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.2269, allocations: 107.4 kB / 416.6 MB, free: 22.41 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001214/0.2281, allocations: 0.8982 MB / 417.5 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2284, allocations: 238.8 kB / 417.7 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2285, allocations: 64.23 kB / 417.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.2286, allocations: 95.64 kB / 417.9 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2288, allocations: 127.4 kB / 418 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.2288, allocations: 12 kB / 418 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.2291, allocations: 203.8 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.2291, allocations: 35.78 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.2292, allocations: 119.4 kB / 418.3 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.2295, allocations: 289.3 kB / 418.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2295, allocations: 0 / 418.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2295, allocations: 0 / 418.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2295, allocations: 0 / 418.6 MB, free: 20.35 MB / 302.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.002196/0.2317, allocations: 0.8176 MB / 419.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2318, allocations: 11.97 kB / 419.5 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.2318, allocations: 28.66 kB / 419.5 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2321, allocations: 256.7 kB / 419.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2321, allocations: 12.38 kB / 419.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2321, allocations: 20.38 kB / 419.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2325, allocations: 265.7 kB / 420 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2325, allocations: 192 / 420 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.2325, allocations: 15.94 kB / 420 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2326, allocations: 11.94 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.2329, allocations: 239.9 kB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.234, allocations: 1.152 MB / 421.4 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.2344, allocations: 303.1 kB / 421.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.2346, allocations: 161.3 kB / 421.9 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.2346, allocations: 12.2 kB / 421.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.235, allocations: 219.5 kB / 422.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.235, allocations: 0 / 422.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002613/0.2376, allocations: 0.9293 MB / 423.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2377, allocations: 59.34 kB / 423.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2378, allocations: 183.9 kB / 423.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.2379, allocations: 33.7 kB / 423.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.238, allocations: 128.9 kB / 423.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.238, allocations: 98.55 kB / 423.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.2381, allocations: 61.69 kB / 423.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.2382, allocations: 326.8 kB / 423.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2384, allocations: 152 kB / 424.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.2386, allocations: 183.1 kB / 424.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.2391, allocations: 366.3 kB / 424.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2391, allocations: 3.938 kB / 424.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001412/0.2405, allocations: 0.6458 MB / 425.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2405, allocations: 8 kB / 425.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2405, allocations: 0 / 425.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.242, allocations: 340.5 kB / 425.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.2422, allocations: 51.92 kB / 425.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.2452, allocations: 2.423 MB / 428.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2455, allocations: 23.75 kB / 428.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.2455, allocations: 12 kB / 428.1 MB, free: 10.37 MB / 302.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.0001294/0.2456, allocations: 141.8 kB / 428.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.2457, allocations: 19.72 kB / 428.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2472, allocations: 0.6672 MB / 428.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2472, allocations: 4 kB / 428.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2472, allocations: 0 / 428.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2472, allocations: 8 kB / 428.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.2475, allocations: 397.1 kB / 429.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2475, allocations: 0 / 429.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2477, allocations: 47.86 kB / 429.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.249, allocations: 332.5 kB / 429.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.2491, allocations: 12 kB / 429.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.2519, allocations: 2.394 MB / 432.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2519, allocations: 4.125 kB / 432.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.2533, allocations: 0.6267 MB / 432.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2533, allocations: 104.8 kB / 432.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.2534, allocations: 8 kB / 432.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2536, allocations: 15.98 kB / 432.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.2537, allocations: 27.91 kB / 432.9 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.2537, allocations: 8 kB / 432.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.2538, allocations: 135.7 kB / 433 MB, free: 5.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2538, allocations: 0 / 433 MB, free: 5.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.2542, allocations: 103.8 kB / 433.1 MB, free: 5.105 MB / 302.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.0001734/0.2543, allocations: 127.2 kB / 433.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2556, allocations: 0.6039 MB / 433.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2556, allocations: 0 / 433.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.2564, allocations: 438.3 kB / 434.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2567, allocations: 27.73 kB / 434.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/0.2576, allocations: 0.5984 MB / 434.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2579, allocations: 0.7454 MB / 435.7 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.258, allocations: 31.42 kB / 435.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.258, allocations: 0 / 435.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of Templates: time 0.005908/0.2639, allocations: 4.738 MB / 440.4 MB, free: 13.72 MB / 318.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)