Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 76.45 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 173.9 kB / 23.25 MB, free: 1.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9641/0.9641, allocations: 177.1 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02513/0.02513, allocations: 4.465 MB / 264.4 MB, free: 8.773 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.779e-05, allocations: 2.281 kB / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.002845/0.002863, allocations: 3.236 MB / 392.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004197, allocations: 0.9493 MB / 393.8 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.004368, allocations: 8 kB / 393.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.004748, allocations: 178.8 kB / 394 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.005214, allocations: 250.2 kB / 394.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.006513, allocations: 1.194 MB / 395.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.006898, allocations: 0.4897 MB / 395.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.007069, allocations: 112.7 kB / 396 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.007268, allocations: 287.4 kB / 396.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.007486, allocations: 211.3 kB / 396.5 MB, free: 468 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.00753, allocations: 40 kB / 396.5 MB, free: 428 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.007881, allocations: 291.6 kB / 396.8 MB, free: 136 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.007954, allocations: 103.5 kB / 396.9 MB, free: 32 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.008079, allocations: 159.7 kB / 397.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.008731, allocations: 0.7205 MB / 397.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.008735, allocations: 0 / 397.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008736, allocations: 3.938 kB / 397.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.008744, allocations: 0 / 397.8 MB, free: 15.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002827/0.01157, allocations: 1.39 MB / 399.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.01162, allocations: 8.031 kB / 399.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.01169, allocations: 78.72 kB / 399.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.01177, allocations: 48.66 kB / 399.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.01209, allocations: 292.5 kB / 399.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.01215, allocations: 67.27 kB / 399.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.0122, allocations: 40.38 kB / 399.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.01291, allocations: 0.7931 MB / 400.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.01292, allocations: 4.188 kB / 400.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.01295, allocations: 20.31 kB / 400.5 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.01296, allocations: 15.88 kB / 400.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.01352, allocations: 0.5662 MB / 401.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.01508, allocations: 1.379 MB / 402.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.01579, allocations: 0.659 MB / 403.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.01625, allocations: 338.3 kB / 403.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.0163, allocations: 20.47 kB / 403.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.01632, allocations: 39.06 kB / 403.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 1.393e-06/0.01632, allocations: 0 / 403.6 MB, free: 9.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=62): time 0.007016/0.02334, allocations: 2.959 MB / 406.5 MB, free: 6.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.0234, allocations: 89.55 kB / 406.6 MB, free: 6.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.02363, allocations: 276.1 kB / 406.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.02368, allocations: 41.7 kB / 406.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.02417, allocations: 173.7 kB / 407.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.02429, allocations: 214.1 kB / 407.3 MB, free: 5.418 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.02444, allocations: 126.7 kB / 407.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.02455, allocations: 350.8 kB / 407.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.02492, allocations: 365.9 kB / 408.1 MB, free: 4.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.02533, allocations: 446.3 kB / 408.5 MB, free: 4.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.02613, allocations: 0.7968 MB / 409.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02613, allocations: 4 kB / 409.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003417/0.02955, allocations: 1.7 MB / 411 MB, free: 1.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.02957, allocations: 4 kB / 411.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.02958, allocations: 0 / 411.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/0.0331, allocations: 1.07 MB / 412.1 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.03331, allocations: 91.83 kB / 412.2 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1833/0.2167, allocations: 5.092 MB / 417.3 MB, free: 30.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.217, allocations: 67.44 kB / 417.4 MB, free: 30.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.2171, allocations: 21.88 kB / 417.4 MB, free: 30.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {(9,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.2172, allocations: 180.2 kB / 417.6 MB, free: 30.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.2173, allocations: 38.67 kB / 417.6 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.221, allocations: 1.706 MB / 419.3 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.221, allocations: 7.219 kB / 419.3 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.221, allocations: 1.828 kB / 419.3 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.221, allocations: 3.328 kB / 419.3 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.2251, allocations: 2.262 MB / 421.6 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2251, allocations: 0 / 421.6 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2252, allocations: 72.08 kB / 421.7 MB, free: 28.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003441/0.2287, allocations: 1.072 MB / 422.7 MB, free: 28.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.2287, allocations: 13.66 kB / 422.7 MB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/0.2351, allocations: 5.002 MB / 427.7 MB, free: 25.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2351, allocations: 5.125 kB / 427.7 MB, free: 25.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.2387, allocations: 1.695 MB / 429.4 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.2388, allocations: 55.7 kB / 429.5 MB, free: 24.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.2389, allocations: 11.64 kB / 429.5 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2391, allocations: 34.33 kB / 429.5 MB, free: 24.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.2393, allocations: 59.36 kB / 429.6 MB, free: 24.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.2393, allocations: 21.09 kB / 429.6 MB, free: 24.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.2395, allocations: 191.9 kB / 429.8 MB, free: 24.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2395, allocations: 0 / 429.8 MB, free: 24.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007113/0.2402, allocations: 228.8 kB / 430 MB, free: 24.55 MB / 330.7 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 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 {(8,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003577/0.2438, allocations: 2.272 MB / 432.3 MB, free: 23.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.2459, allocations: 1.2 MB / 433.5 MB, free: 22.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.2459, allocations: 0.9688 kB / 433.5 MB, free: 22.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.2473, allocations: 0.7705 MB / 434.3 MB, free: 22.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2478, allocations: 48.48 kB / 434.3 MB, free: 22.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009108/0.2569, allocations: 6.485 MB / 440.8 MB, free: 17.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.257, allocations: 226.6 kB / 441 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.2571, allocations: 69.27 kB / 441.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2573, allocations: 144.5 kB / 441.2 MB, free: 17.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2573, allocations: 0 / 441.2 MB, free: 17.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.2915, allocations: 19.96 MB / 461.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.353, allocations: 11.86 kB / 461.2 MB, free: 13.37 MB / 346.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1_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_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.289420957677066] Failed to read output from testmodel.py, exit status != 0: 8.446683077141643 8.45466427 8.444230254 Calling exit ...