Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.001271/0.001271, allocations: 107.1 kB / 17.12 MB, free: 5.914 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.001274/0.001274, allocations: 200.5 kB / 20.07 MB, free: 2.984 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.396/1.396, allocations: 222.9 MB / 245.8 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.1851/0.1851, allocations: 8.077 MB / 306 MB, free: 2.652 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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 422.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 51.54 MB / 474.2 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003853/0.2546, allocations: 4.107 MB / 478.4 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.2561, allocations: 1.083 MB / 479.4 MB, free: 17.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.2563, allocations: 9.469 kB / 479.4 MB, free: 17.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.2567, allocations: 192.5 kB / 479.6 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005226/0.2572, allocations: 306.1 kB / 479.9 MB, free: 17.36 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.00183/0.2591, allocations: 1.263 MB / 481.2 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.2597, allocations: 0.6211 MB / 481.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.26, allocations: 223.4 kB / 482 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.2603, allocations: 256.4 kB / 482.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.2606, allocations: 343.4 kB / 482.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.039e-05/0.2607, allocations: 49.28 kB / 482.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005287/0.2613, allocations: 288.8 kB / 482.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.2614, allocations: 129.7 kB / 483.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.2616, allocations: 295.2 kB / 483.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008089/0.2624, allocations: 0.7882 MB / 484.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2625, allocations: 0 / 484.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2625, allocations: 0 / 484.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.2625, allocations: 1 kB / 484.2 MB, free: 14.61 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.005322/0.2678, allocations: 1.652 MB / 485.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2678, allocations: 13.64 kB / 485.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.831e-05/0.2679, allocations: 89.86 kB / 485.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.2681, allocations: 72.42 kB / 486 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.2685, allocations: 394.4 kB / 486.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.2686, allocations: 66.36 kB / 486.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.2687, allocations: 49 kB / 486.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009297/0.2696, allocations: 0.6898 MB / 487.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2696, allocations: 4 kB / 487.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.2697, allocations: 25.44 kB / 487.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2697, allocations: 11 kB / 487.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.2706, allocations: 0.6357 MB / 487.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.2733, allocations: 2.706 MB / 490.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.2745, allocations: 1.055 MB / 491.6 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.2751, allocations: 456 kB / 492 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.682e-05/0.2752, allocations: 13.67 kB / 492.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007845/0.276, allocations: 0.5034 MB / 492.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.846e-06/0.276, allocations: 0 / 492.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.008161/0.2841, allocations: 2.64 MB / 495.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.2842, allocations: 88.7 kB / 495.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.2846, allocations: 345.2 kB / 495.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.2846, allocations: 41.7 kB / 495.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.2847, allocations: 209.5 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2849, allocations: 261.7 kB / 496.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.2851, allocations: 150.6 kB / 496.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.2851, allocations: 358.8 kB / 496.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/0.2856, allocations: 417.9 kB / 497 MB, free: 5.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.2862, allocations: 494.2 kB / 497.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2872, allocations: 0.9443 MB / 498.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2872, allocations: 0 / 498.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003601/0.2909, allocations: 1.728 MB / 0.4885 GB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2909, allocations: 4 kB / 0.4885 GB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2909, allocations: 0 / 0.4885 GB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/0.2945, allocations: 1.075 MB / 0.4895 GB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.295, allocations: 119.8 kB / 0.4896 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009346/0.3043, allocations: 5.335 MB / 0.4948 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.305, allocations: 75.45 kB / 0.4949 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/0.3051, allocations: 31.98 kB / 0.4949 GB, free: 11.18 MB / 366.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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.3054, allocations: 185.7 kB / 0.4951 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3055, allocations: 55.61 kB / 0.4952 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.31, allocations: 1.718 MB / 0.4969 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.31, allocations: 8 kB / 0.4969 GB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3101, allocations: 3.938 kB / 0.4969 GB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3101, allocations: 3.984 kB / 0.4969 GB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/0.3154, allocations: 2.525 MB / 0.4993 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3154, allocations: 4 kB / 0.4993 GB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.3158, allocations: 99.83 kB / 0.4994 GB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003971/0.3198, allocations: 0.9646 MB / 0.5004 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/0.3198, allocations: 12 kB / 0.5004 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009487/0.3293, allocations: 5.264 MB / 0.5055 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3294, allocations: 0 / 0.5055 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.3338, allocations: 1.689 MB / 0.5072 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.334, allocations: 136.5 kB / 0.5073 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3341, allocations: 16 kB / 0.5073 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.3346, allocations: 43.91 kB / 0.5074 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3348, allocations: 64.91 kB / 0.5074 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.3349, allocations: 24 kB / 0.5074 GB, free: 14.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.3352, allocations: 231.2 kB / 0.5077 GB, free: 13.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.266e-06/0.3352, allocations: 0 / 0.5077 GB, free: 13.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000823/0.336, allocations: 267.8 kB / 0.5079 GB, free: 13.61 MB / 382.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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004727/0.3408, allocations: 2.263 MB / 0.5101 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003541/0.3443, allocations: 1.503 MB / 0.5116 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3443, allocations: 4 kB / 0.5116 GB, free: 9.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.3467, allocations: 0.9845 MB / 0.5126 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.3473, allocations: 61.41 kB / 0.5126 GB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.361, allocations: 6.892 MB / 0.5194 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.3616, allocations: 0.8698 MB / 0.5202 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.3619, allocations: 84.25 kB / 0.5203 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.3622, allocations: 191.4 kB / 0.5205 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3622, allocations: 0 / 0.5205 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05399/0.4162, allocations: 20.69 MB / 0.5407 GB, free: 12.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 18.19 kB / 0.5407 GB, free: 12 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.61590139893815] Failed to read output from testmodel.py, exit status != 0: 12.183273930917494 12.205335819 11.93896289 Calling exit ...