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.001356/0.001356, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001537/0.001537, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.557/1.557, allocations: 230.6 MB / 257.5 MB, free: 7.957 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.1852/0.1852, allocations: 38.53 MB / 352.5 MB, free: 12.52 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.002387/0.002387, allocations: 67.89 kB / 492.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3731, allocations: 62.47 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007156/0.3802, allocations: 4.581 MB / 0.5465 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3836, allocations: 1.494 MB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.3838, allocations: 21.47 kB / 0.5479 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.3851, allocations: 393.8 kB / 0.5483 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007143/0.3858, allocations: 247.7 kB / 0.5485 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.3866, allocations: 253.3 kB / 0.5488 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009641/0.3876, allocations: 0.5589 MB / 0.5493 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.3881, allocations: 224.8 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.3886, allocations: 270.7 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.3893, allocations: 387.2 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.3894, allocations: 39.34 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.39, allocations: 251.1 kB / 0.5505 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.3903, allocations: 243.7 kB / 0.5507 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.3906, allocations: 258.1 kB / 0.5509 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.3916, allocations: 0.6681 MB / 0.5516 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3916, allocations: 3.984 kB / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3916, allocations: 0 / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3916, allocations: 1.062 kB / 0.5516 GB, free: 9.246 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.001479/0.3931, allocations: 0.7133 MB / 0.5523 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3931, allocations: 13.45 kB / 0.5523 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.3932, allocations: 92.94 kB / 0.5524 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.394, allocations: 126.5 kB / 0.5525 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.3948, allocations: 359.9 kB / 0.5529 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.3948, allocations: 33.03 kB / 0.5529 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.395, allocations: 49.98 kB / 0.5529 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.396, allocations: 0.6732 MB / 0.5536 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.3961, allocations: 7.938 kB / 0.5536 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.3961, allocations: 20.31 kB / 0.5536 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.3963, allocations: 53.52 kB / 0.5537 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3973, allocations: 0.6697 MB / 0.5543 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.4009, allocations: 2.374 MB / 0.5566 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.4014, allocations: 324.7 kB / 0.557 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.4018, allocations: 233.9 kB / 0.5572 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.4018, allocations: 8.266 kB / 0.5572 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.4019, allocations: 42.78 kB / 0.5572 GB, free: 4.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.4019, allocations: 4 kB / 0.5572 GB, free: 4.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.00238/0.4042, allocations: 1.405 MB / 0.5586 GB, free: 3.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.4043, allocations: 85.05 kB / 0.5587 GB, free: 3.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.4046, allocations: 288.1 kB / 0.559 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.4047, allocations: 41.81 kB / 0.559 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4049, allocations: 244.4 kB / 0.5592 GB, free: 2.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.405, allocations: 170.5 kB / 0.5594 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4052, allocations: 90.17 kB / 0.5595 GB, free: 2.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.4054, allocations: 350.8 kB / 0.5598 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.4057, allocations: 221 kB / 0.56 GB, free: 1.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.4062, allocations: 358.1 kB / 0.5604 GB, free: 1.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4072, allocations: 0.6355 MB / 0.561 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4072, allocations: 0 / 0.561 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001303/0.4085, allocations: 0.724 MB / 0.5617 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4086, allocations: 8 kB / 0.5617 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008872/0.4094, allocations: 0.5147 MB / 0.5622 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.4098, allocations: 76.78 kB / 0.5623 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.4102, allocations: 107.8 kB / 0.5624 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.412, allocations: 1.624 MB / 0.564 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.4123, allocations: 28.03 kB / 0.564 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.4123, allocations: 23.98 kB / 0.564 GB, free: 13.32 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.0002778/0.4126, allocations: 213.7 kB / 0.5642 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.4127, allocations: 43.69 kB / 0.5643 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.4136, allocations: 0.5629 MB / 0.5648 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.4136, allocations: 11.98 kB / 0.5648 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.4136, allocations: 0 / 0.5648 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4137, allocations: 8 kB / 0.5648 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.4156, allocations: 1.161 MB / 0.566 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4157, allocations: 0 / 0.566 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.4161, allocations: 95.75 kB / 0.5661 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4161, allocations: 0 / 0.5661 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.4161, allocations: 16.08 kB / 0.5661 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4161, allocations: 8 kB / 0.5661 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4161, allocations: 0 / 0.5661 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.4174, allocations: 0.9317 MB / 0.567 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.4175, allocations: 39.77 kB / 0.567 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.4175, allocations: 8 kB / 0.567 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.4178, allocations: 24.02 kB / 0.5671 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.4178, allocations: 27.89 kB / 0.5671 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.4178, allocations: 8 kB / 0.5671 GB, free: 10.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.4181, allocations: 203.1 kB / 0.5673 GB, free: 9.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4181, allocations: 0 / 0.5673 GB, free: 9.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005421/0.4186, allocations: 123.9 kB / 0.5674 GB, free: 9.754 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.001753/0.4204, allocations: 1.514 MB / 0.5689 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4215, allocations: 0.6252 MB / 0.5695 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4215, allocations: 0 / 0.5695 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.4218, allocations: 236.6 kB / 0.5697 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.4224, allocations: 76.78 kB / 0.5698 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.4287, allocations: 4.583 MB / 0.5743 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.4293, allocations: 0.8783 MB / 0.5751 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.4296, allocations: 127.1 kB / 0.5752 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.4299, allocations: 147.4 kB / 0.5754 GB, free: 1.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4299, allocations: 4 kB / 0.5754 GB, free: 1.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/0.474, allocations: 9.14 MB / 0.5843 GB, free: 8.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.41, allocations: 15.84 kB / 0.5843 GB, free: 8.254 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.27491024788469] Failed to read output from testmodel.py, exit status != 0: 12.525160897057503 12.55167533 12.154789585 Calling exit ...