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.0009986/0.0009986, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 181.5 kB / 16.96 MB, free: 6.895 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2004/0.2004, allocations: 8.095 MB / 300.2 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005569/0.000557, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1669, allocations: 52.51 MB / 416 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.001793/0.1687, allocations: 1.259 MB / 417.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.171, allocations: 1.536 MB / 418.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1712, allocations: 4 kB / 418.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1716, allocations: 111.6 kB / 418.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.172, allocations: 103.4 kB / 419 MB, free: 5.367 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.00176/0.1738, allocations: 0.8795 MB / 419.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.1742, allocations: 234.8 kB / 420.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1744, allocations: 76.08 kB / 420.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1746, allocations: 87.64 kB / 420.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1748, allocations: 115.5 kB / 420.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.1749, allocations: 12 kB / 420.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.1754, allocations: 195.8 kB / 420.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1754, allocations: 39.83 kB / 420.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1756, allocations: 133.1 kB / 420.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.1762, allocations: 379.1 kB / 421.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1762, allocations: 4 kB / 421.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1762, allocations: 0 / 421.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1763, allocations: 0 / 421.1 MB, free: 3.23 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.00258/0.1789, allocations: 0.7836 MB / 421.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1789, allocations: 8.031 kB / 421.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.623e-05/0.179, allocations: 28.66 kB / 421.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1794, allocations: 264.6 kB / 422.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1794, allocations: 20.16 kB / 422.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.1795, allocations: 16.38 kB / 422.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.1799, allocations: 261.9 kB / 422.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1799, allocations: 4.125 kB / 422.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.18, allocations: 7.938 kB / 422.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.18, allocations: 4 kB / 422.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.1804, allocations: 255.7 kB / 422.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.182, allocations: 1.152 MB / 423.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.243/0.425, allocations: 299 kB / 424.2 MB, free: 41.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.4253, allocations: 163.7 kB / 424.4 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.4254, allocations: 12.97 kB / 424.4 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.4259, allocations: 215.1 kB / 424.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 6.062e-06/0.4259, allocations: 0 / 424.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002985/0.4289, allocations: 0.9343 MB / 425.5 MB, free: 41.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.4289, allocations: 55.5 kB / 425.6 MB, free: 41.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.4291, allocations: 184.1 kB / 425.8 MB, free: 41.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.4291, allocations: 29.08 kB / 425.8 MB, free: 41.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.4292, allocations: 129.7 kB / 425.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.4293, allocations: 100.5 kB / 426 MB, free: 41.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.4293, allocations: 32.25 kB / 426 MB, free: 41.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.4294, allocations: 327.3 kB / 426.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.4296, allocations: 154.7 kB / 426.5 MB, free: 41.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.4299, allocations: 182.3 kB / 426.7 MB, free: 41.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.4304, allocations: 367 kB / 427.1 MB, free: 41.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4304, allocations: 0 / 427.1 MB, free: 41.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001556/0.4319, allocations: 0.6472 MB / 427.7 MB, free: 40.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.432, allocations: 7.25 kB / 427.7 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.432, allocations: 3.938 kB / 427.7 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.4336, allocations: 343.9 kB / 428 MB, free: 40.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.4338, allocations: 53.72 kB / 428.1 MB, free: 40.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.4373, allocations: 2.417 MB / 430.5 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4375, allocations: 32.22 kB / 430.5 MB, free: 39.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.4375, allocations: 10.83 kB / 430.6 MB, free: 39.65 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.0001535/0.4377, allocations: 143.1 kB / 430.7 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.4377, allocations: 21.31 kB / 430.7 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4395, allocations: 0.6637 MB / 431.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.4395, allocations: 3.188 kB / 431.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.4395, allocations: 0 / 431.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.4395, allocations: 1.109 kB / 431.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.4398, allocations: 399.4 kB / 431.8 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4399, allocations: 3.938 kB / 431.8 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.44, allocations: 42.62 kB / 431.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.4415, allocations: 339 kB / 432.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4415, allocations: 3.5 kB / 432.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.445, allocations: 2.396 MB / 434.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.445, allocations: 0.5469 kB / 434.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.4465, allocations: 0.6419 MB / 435.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.4466, allocations: 102.9 kB / 435.3 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.4466, allocations: 7.062 kB / 435.3 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.4468, allocations: 21.31 kB / 435.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.4469, allocations: 19.78 kB / 435.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.4469, allocations: 17.8 kB / 435.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.447, allocations: 132.9 kB / 435.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4471, allocations: 0 / 435.5 MB, free: 37.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.4475, allocations: 101.2 kB / 435.6 MB, free: 37.2 MB / 350.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.0002326/0.4477, allocations: 115.3 kB / 435.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.449, allocations: 0.6169 MB / 436.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.449, allocations: 3.75 kB / 436.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008923/0.4499, allocations: 428.3 kB / 436.7 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4502, allocations: 33.19 kB / 436.8 MB, free: 36.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.4511, allocations: 0.6034 MB / 437.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4514, allocations: 0.7524 MB / 438.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.4515, allocations: 33.3 kB / 438.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.4516, allocations: 26.55 kB / 438.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4516, allocations: 0 / 438.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of Templates: time 0.008855/0.4605, allocations: 5.4 MB / 443.6 MB, free: 35.11 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: