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.001695/0.001695, allocations: 109.4 kB / 17.17 MB, free: 5.867 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.001951/0.001951, allocations: 195.6 kB / 20.12 MB, free: 2.93 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.415/1.415, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.05649/0.05649, allocations: 8.231 MB / 311.6 MB, free: 2.004 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.001817/0.001817, allocations: 71.88 kB / 434 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2608, allocations: 54.36 MB / 488.3 MB, free: 27.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004527/0.2654, allocations: 4.128 MB / 492.5 MB, free: 24.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.2674, allocations: 1.087 MB / 493.5 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.2677, allocations: 9.062 kB / 493.6 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.2681, allocations: 197.6 kB / 493.7 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.2687, allocations: 301 kB / 494 MB, free: 22.96 MB / 366.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.001885/0.2706, allocations: 1.285 MB / 495.3 MB, free: 22.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.2713, allocations: 0.6178 MB / 495.9 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.2715, allocations: 151.2 kB / 496.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.2717, allocations: 262.3 kB / 496.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.2721, allocations: 342.8 kB / 496.7 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.2722, allocations: 49.22 kB / 496.7 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.2727, allocations: 295.7 kB / 497 MB, free: 21.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.2728, allocations: 118.5 kB / 497.1 MB, free: 20.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.273, allocations: 299.4 kB / 497.4 MB, free: 20.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.2738, allocations: 0.7818 MB / 498.2 MB, free: 20.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2738, allocations: 4 kB / 498.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2738, allocations: 3.984 kB / 498.2 MB, free: 20.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.2738, allocations: 1.438 kB / 498.2 MB, free: 20.21 MB / 366.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.005357/0.2791, allocations: 1.64 MB / 499.9 MB, free: 19.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2792, allocations: 18.42 kB / 499.9 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.977e-05/0.2793, allocations: 85.92 kB / 500 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.2794, allocations: 75.42 kB / 0.4883 GB, free: 19.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.2799, allocations: 398.2 kB / 0.4887 GB, free: 18.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.28, allocations: 70.03 kB / 0.4888 GB, free: 18.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-05/0.28, allocations: 49.94 kB / 0.4888 GB, free: 18.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.281, allocations: 0.6862 MB / 0.4895 GB, free: 18.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.281, allocations: 0 / 0.4895 GB, free: 18.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.2811, allocations: 25.56 kB / 0.4895 GB, free: 18.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2811, allocations: 9.469 kB / 0.4895 GB, free: 18.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.282, allocations: 0.6402 MB / 0.4901 GB, free: 17.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.285, allocations: 2.704 MB / 0.4928 GB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2862, allocations: 0.9781 MB / 0.4937 GB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.2867, allocations: 400.5 kB / 0.4941 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.2868, allocations: 18.81 kB / 0.4941 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007312/0.2876, allocations: 0.4986 MB / 0.4946 GB, free: 14.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.124e-06/0.2876, allocations: 1.031 kB / 0.4946 GB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008038/0.2956, allocations: 2.611 MB / 0.4972 GB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2956, allocations: 88.98 kB / 0.4973 GB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.296, allocations: 338.6 kB / 0.4976 GB, free: 12.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.296, allocations: 41.83 kB / 0.4976 GB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.2961, allocations: 216.7 kB / 0.4978 GB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.2963, allocations: 260 kB / 0.4981 GB, free: 11.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2965, allocations: 151.1 kB / 0.4982 GB, free: 11.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.2965, allocations: 360.4 kB / 0.4986 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.2971, allocations: 417.1 kB / 0.499 GB, free: 11.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.2977, allocations: 497.3 kB / 0.4994 GB, free: 10.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.2989, allocations: 0.9394 MB / 0.5003 GB, free: 10.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2989, allocations: 0 / 0.5003 GB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003867/0.3028, allocations: 1.695 MB / 0.502 GB, free: 9.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3028, allocations: 4.406 kB / 0.502 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3028, allocations: 1.031 kB / 0.502 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/0.3065, allocations: 1.079 MB / 0.5031 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.307, allocations: 120.8 kB / 0.5032 GB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007184/0.3142, allocations: 5.327 MB / 0.5084 GB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.3147, allocations: 75.47 kB / 0.5085 GB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.3148, allocations: 27.98 kB / 0.5085 GB, free: 3.461 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.0002309/0.315, allocations: 182.7 kB / 0.5087 GB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.3151, allocations: 67.48 kB / 0.5087 GB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.3187, allocations: 1.679 MB / 0.5104 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3187, allocations: 12 kB / 0.5104 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3187, allocations: 7.922 kB / 0.5104 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3187, allocations: 3.984 kB / 0.5104 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.3234, allocations: 2.486 MB / 0.5128 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3234, allocations: 0 / 0.5128 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.3237, allocations: 99.83 kB / 0.5129 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00385/0.3275, allocations: 0.9607 MB / 0.5138 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.3276, allocations: 23.98 kB / 0.5139 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009113/0.3367, allocations: 5.248 MB / 0.519 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3367, allocations: 4 kB / 0.519 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.3409, allocations: 1.673 MB / 0.5206 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.341, allocations: 136.5 kB / 0.5208 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.3411, allocations: 16 kB / 0.5208 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3416, allocations: 35.97 kB / 0.5208 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.3417, allocations: 64.91 kB / 0.5209 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.3418, allocations: 28 kB / 0.5209 GB, free: 6.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.3421, allocations: 231.2 kB / 0.5211 GB, free: 6.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3421, allocations: 0 / 0.5211 GB, free: 6.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007794/0.3428, allocations: 263.8 kB / 0.5214 GB, free: 5.988 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.004461/0.3473, allocations: 2.235 MB / 0.5235 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003287/0.3506, allocations: 1.413 MB / 0.5249 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3506, allocations: 0 / 0.5249 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.3528, allocations: 0.9187 MB / 0.5258 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.3533, allocations: 69.34 kB / 0.5259 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.3666, allocations: 6.845 MB / 0.5326 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.3672, allocations: 0.8698 MB / 0.5334 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.3675, allocations: 76.3 kB / 0.5335 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.3677, allocations: 191.4 kB / 0.5337 GB, free: 9.199 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3677, allocations: 0 / 0.5337 GB, free: 9.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.4203, allocations: 20.86 MB / 0.5541 GB, free: 4.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.44, allocations: 11.12 kB / 0.5541 GB, free: 4.461 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.919125170912594] Failed to read output from testmodel.py, exit status != 0: 12.536478447262198 12.550125692 12.273566374 Calling exit ...