Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001351/0.001351, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001536/0.001536, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1938/0.1938, allocations: 38.52 MB / 353.2 MB, free: 12.53 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.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="cs",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.002054/0.002054, allocations: 67.91 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4308, allocations: 62.46 MB / 0.5427 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.008763/0.4395, allocations: 4.582 MB / 0.5472 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.444, allocations: 1.498 MB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.4444, allocations: 16.38 kB / 0.5487 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.4459, allocations: 394.2 kB / 0.5491 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.4468, allocations: 255.7 kB / 0.5493 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.4478, allocations: 245 kB / 0.5496 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.4488, allocations: 0.5629 MB / 0.5501 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.4494, allocations: 225.3 kB / 0.5503 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.45, allocations: 274.8 kB / 0.5506 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/0.4508, allocations: 375.9 kB / 0.5509 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.4509, allocations: 38.22 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007374/0.4516, allocations: 255.6 kB / 0.5512 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.4519, allocations: 240.9 kB / 0.5515 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.4523, allocations: 251.8 kB / 0.5517 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4537, allocations: 0.6843 MB / 0.5524 GB, free: 9.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4537, allocations: 3.938 kB / 0.5524 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.4537, allocations: 1.188 kB / 0.5524 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4538, allocations: 0 / 0.5524 GB, free: 9.262 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002244/0.456, allocations: 0.7074 MB / 0.5531 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.148e-05/0.4561, allocations: 14.27 kB / 0.5531 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.391e-05/0.4561, allocations: 14.47 kB / 0.5531 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.4563, allocations: 88.86 kB / 0.5532 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.4574, allocations: 126.3 kB / 0.5533 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4585, allocations: 361.1 kB / 0.5536 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.4586, allocations: 36.38 kB / 0.5537 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.4588, allocations: 50.19 kB / 0.5537 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.4604, allocations: 0.6754 MB / 0.5544 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.4605, allocations: 5.172 kB / 0.5544 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.4605, allocations: 20.8 kB / 0.5544 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/0.4608, allocations: 52.42 kB / 0.5544 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.4624, allocations: 0.6707 MB / 0.5551 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.4676, allocations: 2.368 MB / 0.5574 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.4684, allocations: 325.7 kB / 0.5577 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.4689, allocations: 229.9 kB / 0.5579 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.469, allocations: 4.281 kB / 0.558 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.469, allocations: 42.78 kB / 0.558 GB, free: 4.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.947e-06/0.469, allocations: 0 / 0.558 GB, free: 4.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.003463/0.4725, allocations: 1.413 MB / 0.5594 GB, free: 3.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.4726, allocations: 81.11 kB / 0.5594 GB, free: 3.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.473, allocations: 288.1 kB / 0.5597 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.4731, allocations: 37.64 kB / 0.5598 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.4733, allocations: 248.4 kB / 0.56 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.4735, allocations: 170.5 kB / 0.5602 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.4737, allocations: 94.3 kB / 0.5602 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.4739, allocations: 346.8 kB / 0.5606 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.4744, allocations: 221 kB / 0.5608 GB, free: 1.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.4751, allocations: 368.6 kB / 0.5611 GB, free: 1.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.4763, allocations: 0.6239 MB / 0.5618 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.4763, allocations: 4 kB / 0.5618 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001963/0.4783, allocations: 0.7198 MB / 0.5625 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4783, allocations: 10.97 kB / 0.5625 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001338/0.4797, allocations: 0.5191 MB / 0.563 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.4801, allocations: 76.78 kB / 0.563 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.4808, allocations: 115.8 kB / 0.5632 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.4833, allocations: 1.616 MB / 0.5647 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.4838, allocations: 35.88 kB / 0.5648 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.4839, allocations: 20 kB / 0.5648 GB, free: 13.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.4844, allocations: 213.7 kB / 0.565 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.4846, allocations: 39.7 kB / 0.565 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.486, allocations: 0.5667 MB / 0.5656 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/0.486, allocations: 19.98 kB / 0.5656 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.486, allocations: 0 / 0.5656 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.486, allocations: 0 / 0.5656 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.4892, allocations: 1.161 MB / 0.5667 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.4892, allocations: 0 / 0.5667 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.4898, allocations: 87.88 kB / 0.5668 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.4898, allocations: 4 kB / 0.5668 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.4898, allocations: 11.94 kB / 0.5668 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.4898, allocations: 7.922 kB / 0.5668 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4899, allocations: 4 kB / 0.5668 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.4918, allocations: 0.9241 MB / 0.5678 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.492, allocations: 43.98 kB / 0.5678 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4921, allocations: 11.98 kB / 0.5678 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.4925, allocations: 19.97 kB / 0.5678 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.4926, allocations: 39.81 kB / 0.5679 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.4926, allocations: 12 kB / 0.5679 GB, free: 10.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.493, allocations: 199.1 kB / 0.5681 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.493, allocations: 0 / 0.5681 GB, free: 9.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009804/0.4939, allocations: 119.9 kB / 0.5682 GB, free: 9.781 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002726/0.4967, allocations: 1.506 MB / 0.5696 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.4983, allocations: 0.6296 MB / 0.5703 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.4984, allocations: 4 kB / 0.5703 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.4989, allocations: 231.5 kB / 0.5705 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.4998, allocations: 73.36 kB / 0.5706 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5109, allocations: 4.598 MB / 0.575 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009331/0.5119, allocations: 0.8744 MB / 0.5759 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005845/0.5125, allocations: 127.2 kB / 0.576 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.5128, allocations: 143.4 kB / 0.5762 GB, free: 1.297 MB / 414.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5128, allocations: 4 kB / 0.5762 GB, free: 1.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.5578, allocations: 9.168 MB / 0.5851 GB, free: 8.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.62, allocations: 10.75 kB / 0.5851 GB, free: 8.27 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.596844719024375] Failed to read output from testmodel.py, exit status != 0: 12.786481774994172 12.801617029 12.344637024 Calling exit ...