Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.0007879/0.0007879, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008124/0.0008124, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8648/0.8648, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2094/0.2094, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationFixedInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.498e-06/4.498e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.961e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.006361/0.006391, allocations: 7.109 MB / 437.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.009921, allocations: 2.235 MB / 439.5 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.01044, allocations: 35.69 kB / 439.6 MB, free: 4.188 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.01181, allocations: 0.8273 MB / 440.4 MB, free: 3.359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.01291, allocations: 0.5358 MB / 440.9 MB, free: 2.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.01399, allocations: 470.7 kB / 441.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.01532, allocations: 1.351 MB / 442.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008665/0.01618, allocations: 0.5175 MB / 443.3 MB, free: 488 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1684/0.1846, allocations: 0.7707 MB / 444 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1857, allocations: 0.6541 MB / 444.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.1859, allocations: 81.94 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.1866, allocations: 277 kB / 445 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004318/0.1871, allocations: 0.5364 MB / 445.6 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.1876, allocations: 391.2 kB / 446 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.1891, allocations: 1.358 MB / 447.3 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1891, allocations: 0.6562 kB / 447.3 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1891, allocations: 1.75 kB / 447.3 MB, free: 43.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.029e-05/0.1891, allocations: 0 / 447.3 MB, free: 43.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002416/0.1915, allocations: 1.287 MB / 448.6 MB, free: 43.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1916, allocations: 15.77 kB / 448.6 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.1917, allocations: 137.5 kB / 448.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.193, allocations: 211.7 kB / 449 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1941, allocations: 0.6723 MB / 449.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.1941, allocations: 64.84 kB / 449.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.1943, allocations: 106.4 kB / 449.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1954, allocations: 1.255 MB / 451.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.1954, allocations: 3.25 kB / 451.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.1955, allocations: 39.89 kB / 451.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.1956, allocations: 63.75 kB / 451.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.1966, allocations: 1.039 MB / 452.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.1997, allocations: 4.409 MB / 456.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.2004, allocations: 0.6472 MB / 457.3 MB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.2007, allocations: 452.5 kB / 457.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.2008, allocations: 10.44 kB / 457.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.2012, allocations: 0.5411 MB / 458.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.455e-06/0.2012, allocations: 3.125 kB / 458.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.002717/0.2039, allocations: 2.815 MB / 461.1 MB, free: 37.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.204, allocations: 168.1 kB / 461.2 MB, free: 37.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.2044, allocations: 0.6067 MB / 461.8 MB, free: 37.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.2044, allocations: 40.77 kB / 461.9 MB, free: 37.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.2046, allocations: 484 kB / 462.3 MB, free: 37.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2047, allocations: 262.8 kB / 462.6 MB, free: 36.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.2048, allocations: 178.8 kB / 462.8 MB, free: 36.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.2049, allocations: 392.4 kB / 463.2 MB, free: 36.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.2053, allocations: 403.9 kB / 463.6 MB, free: 36.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.2057, allocations: 0.6606 MB / 464.2 MB, free: 35.79 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.2095, allocations: 3.219 MB / 467.4 MB, free: 34.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2095, allocations: 6.562 kB / 467.4 MB, free: 34.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001253/0.2107, allocations: 1.365 MB / 468.8 MB, free: 34.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.2108, allocations: 35.42 kB / 468.8 MB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.2108, allocations: 9.094 kB / 468.8 MB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.2111, allocations: 243.4 kB / 469.1 MB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.2117, allocations: 264.2 kB / 469.3 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.2147, allocations: 5.727 MB / 475.1 MB, free: 29.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.215, allocations: 33.91 kB / 475.1 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.215, allocations: 39.53 kB / 475.1 MB, free: 29.22 MB / 410.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.2153, allocations: 379 kB / 475.5 MB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.2154, allocations: 82.2 kB / 475.6 MB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.2165, allocations: 1.181 MB / 476.8 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.2165, allocations: 9.188 kB / 476.8 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2165, allocations: 4.25 kB / 476.8 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2165, allocations: 6.625 kB / 476.8 MB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.2185, allocations: 2.161 MB / 479 MB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2185, allocations: 0 / 479 MB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.2189, allocations: 192.8 kB / 479.1 MB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.2193, allocations: 250 kB / 479.4 MB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.2193, allocations: 30.58 kB / 479.4 MB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.2217, allocations: 5.654 MB / 485.1 MB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2217, allocations: 1.125 kB / 485.1 MB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.2234, allocations: 1.706 MB / 486.8 MB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.2234, allocations: 81.44 kB / 486.9 MB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.2235, allocations: 27.44 kB / 486.9 MB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2237, allocations: 30.22 kB / 486.9 MB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2238, allocations: 57.11 kB / 487 MB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2238, allocations: 20.03 kB / 487 MB, free: 21.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.2241, allocations: 414.5 kB / 487.4 MB, free: 21.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2241, allocations: 0 / 487.4 MB, free: 21.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007699/0.2249, allocations: 275 kB / 487.7 MB, free: 21.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/0.2269, allocations: 2.285 MB / 489.9 MB, free: 20.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.2282, allocations: 1.402 MB / 491.4 MB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2282, allocations: 1.859 kB / 491.4 MB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.229, allocations: 0.9111 MB / 492.3 MB, free: 18.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.2296, allocations: 187.1 kB / 492.4 MB, free: 18.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008037/0.2376, allocations: 8.208 MB / 0.4889 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.2382, allocations: 0.5191 MB / 0.4894 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004333/0.2387, allocations: 205.2 kB / 0.4896 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.239, allocations: 339.7 kB / 0.4899 GB, free: 13.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.239, allocations: 0 / 0.4899 GB, free: 13.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0371/0.2761, allocations: 20.49 MB / 0.51 GB, free: 4.223 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.83, allocations: 11.48 kB / 0.51 GB, free: 4.215 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_Introductory_SimulationFixedInitial.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.746707987040281] Failed to read output from testmodel.py, exit status != 0: 7.926959284581244 7.939036034 7.747688606 Calling exit ...