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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001258, allocations: 111 kB / 17.8 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 183.8 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 246.4 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1599/0.1599, allocations: 8.085 MB / 306.7 MB, free: 2.672 MB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.89 kB / 423.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2383, allocations: 51.52 MB / 475.4 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad): time 0.00213/0.2404, allocations: 1.56 MB / 477 MB, free: 20.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2419, allocations: 1.559 MB / 478.5 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.242, allocations: 4.219 kB / 478.5 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.2423, allocations: 123.7 kB / 478.6 MB, free: 19.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.2425, allocations: 109.4 kB / 478.7 MB, free: 19.51 MB / 350.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.001284/0.2438, allocations: 0.9279 MB / 479.7 MB, free: 18.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.2441, allocations: 258.8 kB / 479.9 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.2442, allocations: 72.58 kB / 480 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.2443, allocations: 105.1 kB / 480.1 MB, free: 18.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.2445, allocations: 128.2 kB / 480.2 MB, free: 18.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.2445, allocations: 19.34 kB / 480.2 MB, free: 18.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.2448, allocations: 209.5 kB / 480.4 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.2449, allocations: 46.92 kB / 480.5 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.245, allocations: 118.9 kB / 480.6 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.2454, allocations: 401 kB / 481 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2454, allocations: 0 / 481 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2454, allocations: 3.938 kB / 481 MB, free: 18.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2454, allocations: 5.25 kB / 481 MB, free: 18.01 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.002157/0.2476, allocations: 0.8217 MB / 481.8 MB, free: 17.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2476, allocations: 14.42 kB / 481.8 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.2477, allocations: 25.27 kB / 481.9 MB, free: 17.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2479, allocations: 265.9 kB / 482.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2479, allocations: 16.34 kB / 482.1 MB, free: 17.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.248, allocations: 16.84 kB / 482.2 MB, free: 17.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.2483, allocations: 257.4 kB / 482.4 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2484, allocations: 192 / 482.4 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.2484, allocations: 18.27 kB / 482.4 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2484, allocations: 3.312 kB / 482.4 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.2487, allocations: 249.6 kB / 482.7 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.2498, allocations: 1.135 MB / 483.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.2502, allocations: 310.9 kB / 484.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2504, allocations: 162 kB / 484.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.2505, allocations: 8.5 kB / 484.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.2508, allocations: 219.4 kB / 484.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.2508, allocations: 1.062 kB / 484.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002608/0.2534, allocations: 0.9314 MB / 485.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.2535, allocations: 62.84 kB / 485.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2536, allocations: 190.1 kB / 485.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.2537, allocations: 31.05 kB / 485.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.2537, allocations: 120.3 kB / 485.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.2538, allocations: 103 kB / 485.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.2539, allocations: 68.09 kB / 486 MB, free: 14.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.2539, allocations: 332.2 kB / 486.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2541, allocations: 148.7 kB / 486.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2544, allocations: 189.5 kB / 486.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.2548, allocations: 360.2 kB / 487 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2548, allocations: 0 / 487 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00143/0.2562, allocations: 0.6519 MB / 487.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2563, allocations: 9.5 kB / 487.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2563, allocations: 0 / 487.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.2577, allocations: 338 kB / 488 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2579, allocations: 50.31 kB / 488 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.2612, allocations: 2.64 MB / 490.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2614, allocations: 29.31 kB / 490.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2615, allocations: 12.14 kB / 490.7 MB, free: 10.64 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.0001061/0.2616, allocations: 139.9 kB / 490.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.2616, allocations: 27.05 kB / 490.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.2632, allocations: 0.6512 MB / 491.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2632, allocations: 6.875 kB / 491.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2632, allocations: 1.156 kB / 491.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2632, allocations: 7.984 kB / 491.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.2634, allocations: 392.9 kB / 491.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2635, allocations: 0 / 491.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2636, allocations: 44.05 kB / 492 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.265, allocations: 348.3 kB / 492.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.265, allocations: 6.312 kB / 492.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003101/0.2681, allocations: 2.61 MB / 494.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2681, allocations: 3.984 kB / 494.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.2695, allocations: 0.6271 MB / 495.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.2696, allocations: 107.1 kB / 495.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.2696, allocations: 6.344 kB / 495.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2698, allocations: 18.23 kB / 495.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.2699, allocations: 23.84 kB / 495.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.2699, allocations: 15.05 kB / 495.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.665e-05/0.27, allocations: 128.9 kB / 495.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2701, allocations: 1.406 kB / 495.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.2704, allocations: 90.28 kB / 495.9 MB, free: 6.68 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.0001744/0.2706, allocations: 135.5 kB / 496.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.2719, allocations: 0.6133 MB / 496.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2719, allocations: 0.9688 kB / 496.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.2728, allocations: 450.6 kB / 497.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2731, allocations: 34.12 kB / 497.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.2738, allocations: 0.5372 MB / 497.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.274, allocations: 0.7415 MB / 498.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.274, allocations: 35.36 kB / 498.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2741, allocations: 0 / 498.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005471/0.2795, allocations: 4.759 MB / 0.4914 GB, free: 15.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.625122996047139] Failed to read output from testmodel.py, exit status != 0: 0.28653341601602733 0.299090305 0.051243914 Calling exit ...