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.001968/0.001968, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002277/0.002277, allocations: 212.7 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1891/0.1891, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.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.002142/0.002142, allocations: 63.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3868, allocations: 62.46 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009556/0.3964, allocations: 7.167 MB / 0.5489 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004632/0.401, allocations: 2.215 MB / 0.5511 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.4015, allocations: 37.22 kB / 0.5511 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.4039, allocations: 0.8384 MB / 0.552 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.4052, allocations: 0.509 MB / 0.5525 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.4066, allocations: 457.2 kB / 0.5529 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.4087, allocations: 1.273 MB / 0.5541 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009387/0.4096, allocations: 0.5176 MB / 0.5546 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.4108, allocations: 0.5753 MB / 0.5552 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.4119, allocations: 0.6629 MB / 0.5559 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.4121, allocations: 78.7 kB / 0.5559 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.4127, allocations: 235.3 kB / 0.5562 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.4132, allocations: 0.4986 MB / 0.5566 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.4137, allocations: 442 kB / 0.5571 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4152, allocations: 1.265 MB / 0.5583 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4152, allocations: 0 / 0.5583 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4152, allocations: 0 / 0.5583 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4153, allocations: 0 / 0.5583 GB, free: 3.484 MB / 398.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.002449/0.4177, allocations: 1.269 MB / 0.5595 GB, free: 2.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4178, allocations: 11.98 kB / 0.5595 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.4179, allocations: 143.7 kB / 0.5597 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.419, allocations: 196.1 kB / 0.5599 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.4205, allocations: 0.6595 MB / 0.5605 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.4206, allocations: 62.36 kB / 0.5606 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.4207, allocations: 95.92 kB / 0.5607 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.4226, allocations: 1.208 MB / 0.5618 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.4227, allocations: 11.89 kB / 0.5619 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.4228, allocations: 32 kB / 0.5619 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-05/0.4228, allocations: 53.98 kB / 0.5619 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.4245, allocations: 0.9539 MB / 0.5629 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/0.431, allocations: 4.461 MB / 0.5672 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.4323, allocations: 0.6545 MB / 0.5679 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.4328, allocations: 369.6 kB / 0.5682 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.4329, allocations: 24.36 kB / 0.5682 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007356/0.4336, allocations: 470.5 kB / 0.5687 GB, free: 8.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 4.589e-06/0.4336, allocations: 3.984 kB / 0.5687 GB, free: 8.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005976/0.4396, allocations: 2.377 MB / 0.571 GB, free: 5.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.4397, allocations: 170.9 kB / 0.5712 GB, free: 5.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.4406, allocations: 0.6133 MB / 0.5718 GB, free: 5.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.4406, allocations: 37.7 kB / 0.5718 GB, free: 5.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.4411, allocations: 0.4921 MB / 0.5723 GB, free: 4.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.4414, allocations: 238.1 kB / 0.5725 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.4416, allocations: 162.6 kB / 0.5727 GB, free: 4.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.4418, allocations: 386.8 kB / 0.573 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.4424, allocations: 315.5 kB / 0.5733 GB, free: 3.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.4431, allocations: 0.5776 MB / 0.5739 GB, free: 2.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.4445, allocations: 0.9545 MB / 0.5748 GB, free: 1.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4445, allocations: 4 kB / 0.5748 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002365/0.4469, allocations: 1.24 MB / 0.5761 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.4469, allocations: 40.66 kB / 0.5761 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.447, allocations: 16.06 kB / 0.5761 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.4481, allocations: 333.4 kB / 0.5764 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.4487, allocations: 151.8 kB / 0.5766 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.4558, allocations: 5.025 MB / 0.5815 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.4564, allocations: 36.03 kB / 0.5815 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.4565, allocations: 36 kB / 0.5815 GB, free: 10.59 MB / 430.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.0006449/0.4571, allocations: 355.3 kB / 0.5819 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4573, allocations: 91.41 kB / 0.582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.4595, allocations: 1.075 MB / 0.583 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4595, allocations: 8 kB / 0.583 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4595, allocations: 4 kB / 0.583 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.4595, allocations: 3.984 kB / 0.583 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.4632, allocations: 1.975 MB / 0.585 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4632, allocations: 4 kB / 0.585 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.4635, allocations: 80.05 kB / 0.585 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008897/0.4644, allocations: 309.3 kB / 0.5853 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.4645, allocations: 23.94 kB / 0.5854 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006462/0.4709, allocations: 4.955 MB / 0.5902 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4709, allocations: 0 / 0.5902 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.473, allocations: 1.148 MB / 0.5913 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.4732, allocations: 75.42 kB / 0.5914 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.4733, allocations: 19.98 kB / 0.5914 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4736, allocations: 16 kB / 0.5914 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.4738, allocations: 68.27 kB / 0.5915 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.4738, allocations: 16 kB / 0.5915 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005544/0.4744, allocations: 423 kB / 0.5919 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4744, allocations: 0 / 0.5919 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001034/0.4754, allocations: 272 kB / 0.5922 GB, free: 15.29 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.002337/0.4777, allocations: 1.705 MB / 0.5938 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.4798, allocations: 1.172 MB / 0.595 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4798, allocations: 4.188 kB / 0.595 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4809, allocations: 0.7722 MB / 0.5957 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.4819, allocations: 173.4 kB / 0.5959 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.4938, allocations: 7.471 MB / 0.6032 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.4945, allocations: 0.4962 MB / 0.6037 GB, free: 2.898 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005327/0.495, allocations: 178.4 kB / 0.6039 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/0.4956, allocations: 327.3 kB / 0.6042 GB, free: 2.398 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4956, allocations: 0 / 0.6042 GB, free: 2.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/0.5586, allocations: 19.76 MB / 0.6235 GB, free: 14.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.76, allocations: 15.02 kB / 0.6235 GB, free: 14.87 MB / 478.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.719221003819257] Failed to read output from testmodel.py, exit status != 0: 12.88130104681477 12.901492733 12.482550076 Calling exit ...