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.001555/0.001555, allocations: 112.2 kB / 17.09 MB, free: 6.004 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.001845/0.001846, allocations: 196 kB / 18.02 MB, free: 5.082 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04502/0.04502, allocations: 8.094 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 363.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2226, allocations: 51.51 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.002311/0.225, allocations: 1.57 MB / 416.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2264, allocations: 1.555 MB / 417.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.2264, allocations: 4 kB / 417.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.2267, allocations: 123.3 kB / 417.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.227, allocations: 119.2 kB / 418.1 MB, free: 22.05 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.001193/0.2282, allocations: 0.9102 MB / 419 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.2284, allocations: 246.8 kB / 419.2 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2286, allocations: 84.2 kB / 419.3 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.2286, allocations: 99.58 kB / 419.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.2288, allocations: 131.5 kB / 419.5 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2288, allocations: 16 kB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.2291, allocations: 207.8 kB / 419.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.2291, allocations: 55.83 kB / 419.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.2292, allocations: 115.4 kB / 419.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.2295, allocations: 404.5 kB / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2295, allocations: 0 / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2296, allocations: 0 / 420.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.2296, allocations: 0 / 420.3 MB, free: 19.8 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.002146/0.2317, allocations: 0.8185 MB / 421.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2318, allocations: 11.89 kB / 421.1 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.2318, allocations: 24.66 kB / 421.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.2321, allocations: 256.7 kB / 421.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2321, allocations: 20.38 kB / 421.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.2321, allocations: 20.38 kB / 421.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.2325, allocations: 265.6 kB / 421.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2325, allocations: 192 / 421.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.2325, allocations: 15.94 kB / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2325, allocations: 4 kB / 421.7 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.2328, allocations: 247.9 kB / 422 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.234, allocations: 1.14 MB / 423.1 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2343, allocations: 308.8 kB / 423.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2345, allocations: 165.3 kB / 423.6 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.2346, allocations: 12.22 kB / 423.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.2349, allocations: 215.5 kB / 423.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.2349, allocations: 4 kB / 423.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002474/0.2374, allocations: 0.9287 MB / 424.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.2374, allocations: 55.41 kB / 424.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2375, allocations: 183.4 kB / 425 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.2376, allocations: 37.7 kB / 425 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.2376, allocations: 116.9 kB / 425.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.2377, allocations: 98.55 kB / 425.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.2378, allocations: 69.69 kB / 425.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.2378, allocations: 330.8 kB / 425.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.238, allocations: 152 kB / 425.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2382, allocations: 186.9 kB / 425.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2386, allocations: 358.5 kB / 426.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2386, allocations: 4 kB / 426.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001374/0.24, allocations: 0.6497 MB / 426.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.24, allocations: 4 kB / 426.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.24, allocations: 4 kB / 426.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.2414, allocations: 340.5 kB / 427.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2417, allocations: 51.91 kB / 427.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.2447, allocations: 2.635 MB / 430 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.2449, allocations: 31.75 kB / 430 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.245, allocations: 19.92 kB / 430 MB, free: 9.59 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.000112/0.2451, allocations: 129.8 kB / 430.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.2451, allocations: 31.69 kB / 430.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.2466, allocations: 0.6563 MB / 430.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2466, allocations: 7.938 kB / 430.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2466, allocations: 0 / 430.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2466, allocations: 3.984 kB / 430.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2469, allocations: 389.2 kB / 431.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2469, allocations: 0 / 431.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.247, allocations: 47.92 kB / 431.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.2483, allocations: 336.5 kB / 431.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2484, allocations: 8 kB / 431.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.2512, allocations: 2.613 MB / 434.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2512, allocations: 0 / 434.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2525, allocations: 0.6345 MB / 434.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.2526, allocations: 100.7 kB / 434.9 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.2526, allocations: 8 kB / 434.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.2528, allocations: 19.92 kB / 435 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.2529, allocations: 23.97 kB / 435 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.2529, allocations: 8 kB / 435 MB, free: 4.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.654e-05/0.253, allocations: 139.7 kB / 435.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 0 / 435.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.2534, allocations: 92 kB / 435.2 MB, free: 4.125 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.0001594/0.2535, allocations: 119.2 kB / 435.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2547, allocations: 0.6232 MB / 436 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2548, allocations: 0 / 436 MB, free: 3.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000812/0.2556, allocations: 442.5 kB / 436.4 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2558, allocations: 30.69 kB / 436.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.2566, allocations: 0.5043 MB / 436.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2567, allocations: 0.7493 MB / 437.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.923e-05/0.2568, allocations: 34.05 kB / 437.7 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.2569, allocations: 35.36 kB / 437.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2569, allocations: 4 kB / 437.8 MB, free: 1.516 MB / 302.1 MB Notification: Performance of Templates: time 0.009525/0.2664, allocations: 5.89 MB / 443.6 MB, free: 11.64 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)