Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.001288/0.001288, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001388/0.001388, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.185/0.185, allocations: 38.5 MB / 348.7 MB, free: 2.605 MB / 270.1 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.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.12, allocations: 62.43 MB / 0.5367 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01136/0.1313, allocations: 7.659 MB / 0.5442 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005564/0.1369, allocations: 2.376 MB / 0.5465 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.1378, allocations: 35.69 kB / 0.5465 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.1404, allocations: 0.8712 MB / 0.5474 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.1422, allocations: 0.5092 MB / 0.5479 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.1438, allocations: 455 kB / 0.5483 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.1462, allocations: 1.274 MB / 0.5495 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.1472, allocations: 0.5255 MB / 0.55 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.1486, allocations: 0.5719 MB / 0.5506 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.15, allocations: 0.7047 MB / 0.5513 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.1502, allocations: 72 kB / 0.5514 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006955/0.1509, allocations: 235.6 kB / 0.5516 GB, free: 8.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007044/0.1516, allocations: 0.4908 MB / 0.5521 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.1527, allocations: 0.5208 MB / 0.5526 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.1547, allocations: 1.249 MB / 0.5538 GB, free: 5.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1547, allocations: 3.938 kB / 0.5538 GB, free: 5.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1547, allocations: 0 / 0.5538 GB, free: 5.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.511e-05/0.1547, allocations: 0 / 0.5538 GB, free: 5.938 MB / 414.1 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.003065/0.1578, allocations: 1.34 MB / 0.5551 GB, free: 4.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1578, allocations: 12.02 kB / 0.5551 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/0.1581, allocations: 139.7 kB / 0.5553 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.1593, allocations: 204.1 kB / 0.5554 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.1609, allocations: 0.7316 MB / 0.5562 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.1609, allocations: 66.36 kB / 0.5562 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1611, allocations: 79.94 kB / 0.5563 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.1632, allocations: 1.175 MB / 0.5574 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.1632, allocations: 11.89 kB / 0.5575 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-05/0.1633, allocations: 36 kB / 0.5575 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-05/0.1634, allocations: 57.97 kB / 0.5576 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.165, allocations: 0.9287 MB / 0.5585 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006807/0.1718, allocations: 4.785 MB / 0.5631 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.1732, allocations: 0.6238 MB / 0.5637 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.1737, allocations: 331.8 kB / 0.5641 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.1737, allocations: 12.56 kB / 0.5641 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/0.1744, allocations: 443.7 kB / 0.5645 GB, free: 10.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=65): time 2.255e-06/0.1744, allocations: 0 / 0.5645 GB, free: 10.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.005843/0.1803, allocations: 2.459 MB / 0.5669 GB, free: 8.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.1804, allocations: 170.8 kB / 0.5671 GB, free: 7.809 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/0.1812, allocations: 0.5979 MB / 0.5676 GB, free: 7.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.1812, allocations: 37.7 kB / 0.5677 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.1817, allocations: 0.4921 MB / 0.5682 GB, free: 6.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.1819, allocations: 230 kB / 0.5684 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.1822, allocations: 154.6 kB / 0.5685 GB, free: 6.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1824, allocations: 386.8 kB / 0.5689 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1829, allocations: 281.8 kB / 0.5692 GB, free: 5.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.1836, allocations: 0.564 MB / 0.5697 GB, free: 4.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.185, allocations: 0.9533 MB / 0.5706 GB, free: 3.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.185, allocations: 4 kB / 0.5706 GB, free: 3.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00228/0.1873, allocations: 1.224 MB / 0.5718 GB, free: 2.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/0.1873, allocations: 37.69 kB / 0.5719 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1873, allocations: 19.92 kB / 0.5719 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.1885, allocations: 329.6 kB / 0.5722 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.189, allocations: 151.7 kB / 0.5724 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00689/0.1959, allocations: 5.387 MB / 0.5776 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.1965, allocations: 39.98 kB / 0.5777 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.1966, allocations: 32 kB / 0.5777 GB, free: 12.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006201/0.1972, allocations: 366.1 kB / 0.578 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1973, allocations: 79.47 kB / 0.5781 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.1994, allocations: 1.029 MB / 0.5791 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1994, allocations: 8 kB / 0.5791 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1994, allocations: 4 kB / 0.5791 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1994, allocations: 3.984 kB / 0.5791 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.2031, allocations: 2.047 MB / 0.5811 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2031, allocations: 4.141 kB / 0.5811 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.2034, allocations: 71.89 kB / 0.5812 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009562/0.2044, allocations: 317.6 kB / 0.5815 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.2044, allocations: 19.94 kB / 0.5815 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00688/0.2113, allocations: 5.32 MB / 0.5867 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2113, allocations: 4 kB / 0.5867 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.2135, allocations: 1.109 MB / 0.5878 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.2138, allocations: 152.6 kB / 0.5879 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.2139, allocations: 15.94 kB / 0.588 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.2142, allocations: 19.98 kB / 0.588 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.2144, allocations: 56.38 kB / 0.588 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.2144, allocations: 24 kB / 0.5881 GB, free: 1.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005788/0.215, allocations: 423 kB / 0.5885 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.215, allocations: 0 / 0.5885 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001078/0.2161, allocations: 264 kB / 0.5887 GB, free: 0.4961 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3169/0.5329, allocations: 1.662 MB / 0.5903 GB, free: 50.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.5351, allocations: 1.118 MB / 0.5914 GB, free: 50.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5351, allocations: 0.9688 kB / 0.5914 GB, free: 50.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5362, allocations: 0.746 MB / 0.5922 GB, free: 49.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5373, allocations: 175.9 kB / 0.5923 GB, free: 49.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.5499, allocations: 7.299 MB / 0.5995 GB, free: 46.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.551, allocations: 1.111 MB / 0.6005 GB, free: 45.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007565/0.5518, allocations: 179 kB / 0.6007 GB, free: 45.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.5522, allocations: 325.1 kB / 0.601 GB, free: 45.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/0.5522, allocations: 0 / 0.601 GB, free: 45.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.606, allocations: 18.45 MB / 0.619 GB, free: 36.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.77, allocations: 13.53 kB / 0.619 GB, free: 36.68 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState_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_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.696322065996355] Failed to read output from testmodel.py, exit status != 0: 14.865417742999853 14.880733049 14.722794107 Calling exit ...