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.001949/0.001949, 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.002503/0.002503, allocations: 212.4 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2205/0.2205, allocations: 38.55 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") [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.002141/0.002141, allocations: 67.88 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3827, allocations: 62.46 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007455/0.3902, allocations: 4.331 MB / 0.5466 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.3933, allocations: 1.379 MB / 0.548 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.3935, allocations: 21.62 kB / 0.548 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.3948, allocations: 379.2 kB / 0.5484 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006717/0.3954, allocations: 248.8 kB / 0.5486 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.3962, allocations: 253.2 kB / 0.5488 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.3969, allocations: 0.5597 MB / 0.5494 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.3974, allocations: 223.8 kB / 0.5496 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004638/0.3978, allocations: 267 kB / 0.5499 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.3984, allocations: 366.7 kB / 0.5502 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.3985, allocations: 39.38 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.399, allocations: 229.8 kB / 0.5505 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.3993, allocations: 248.7 kB / 0.5507 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.3996, allocations: 209.9 kB / 0.5509 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.4006, allocations: 0.6853 MB / 0.5516 GB, free: 9.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4006, allocations: 3.984 kB / 0.5516 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4006, allocations: 0 / 0.5516 GB, free: 9.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4006, allocations: 1.219 kB / 0.5516 GB, free: 9.719 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.001576/0.4022, allocations: 0.7116 MB / 0.5523 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4023, allocations: 13.95 kB / 0.5523 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008045/0.4031, allocations: 125.4 kB / 0.5524 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.4039, allocations: 361.5 kB / 0.5528 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.404, allocations: 32.61 kB / 0.5528 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.4041, allocations: 54.05 kB / 0.5528 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4053, allocations: 0.6718 MB / 0.5535 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4053, allocations: 0.9375 kB / 0.5535 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.4053, allocations: 15.53 kB / 0.5535 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.4055, allocations: 54.2 kB / 0.5536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.4066, allocations: 0.6697 MB / 0.5542 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.4104, allocations: 2.21 MB / 0.5564 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.411, allocations: 324.3 kB / 0.5567 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.4114, allocations: 233.9 kB / 0.5569 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.4114, allocations: 8.281 kB / 0.5569 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.4114, allocations: 38.84 kB / 0.5569 GB, free: 5.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.324e-06/0.4114, allocations: 0 / 0.5569 GB, free: 5.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002698/0.4141, allocations: 1.409 MB / 0.5583 GB, free: 3.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.4142, allocations: 81.11 kB / 0.5584 GB, free: 3.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.4145, allocations: 280.1 kB / 0.5587 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.4146, allocations: 37.69 kB / 0.5587 GB, free: 3.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.4148, allocations: 248.2 kB / 0.5589 GB, free: 2.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.4149, allocations: 170.6 kB / 0.5591 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.4151, allocations: 98.27 kB / 0.5592 GB, free: 2.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4153, allocations: 342.8 kB / 0.5595 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.4156, allocations: 221 kB / 0.5597 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.4161, allocations: 368.1 kB / 0.5601 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.4171, allocations: 0.6239 MB / 0.5607 GB, free: 1.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4171, allocations: 0 / 0.5607 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001437/0.4186, allocations: 0.7198 MB / 0.5614 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4186, allocations: 8.562 kB / 0.5614 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009944/0.4196, allocations: 0.5225 MB / 0.5619 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.4199, allocations: 76.78 kB / 0.562 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.4204, allocations: 107.8 kB / 0.5621 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.4223, allocations: 1.597 MB / 0.5637 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.4227, allocations: 27.97 kB / 0.5637 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.4227, allocations: 24.06 kB / 0.5637 GB, free: 13.86 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.0003391/0.4231, allocations: 213.6 kB / 0.5639 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4232, allocations: 35.77 kB / 0.5639 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.4242, allocations: 0.5705 MB / 0.5645 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.4242, allocations: 15.94 kB / 0.5645 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.4242, allocations: 0 / 0.5645 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4242, allocations: 7.922 kB / 0.5645 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.4264, allocations: 1.052 MB / 0.5655 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4264, allocations: 0 / 0.5655 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.4268, allocations: 87.88 kB / 0.5656 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.4268, allocations: 0 / 0.5656 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.4269, allocations: 12 kB / 0.5656 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.4269, allocations: 7.922 kB / 0.5657 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4269, allocations: 4 kB / 0.5657 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.4284, allocations: 0.9163 MB / 0.5665 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4285, allocations: 43.75 kB / 0.5666 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.4286, allocations: 12.09 kB / 0.5666 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4288, allocations: 23.91 kB / 0.5666 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.4289, allocations: 31.89 kB / 0.5667 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.4289, allocations: 8 kB / 0.5667 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.4291, allocations: 191.1 kB / 0.5668 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4291, allocations: 4 kB / 0.5668 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.4297, allocations: 123.9 kB / 0.567 GB, free: 10.43 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.0003044/0.43, allocations: 139.2 kB / 0.5671 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.4312, allocations: 0.6371 MB / 0.5677 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4312, allocations: 0 / 0.5677 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.4316, allocations: 232.6 kB / 0.5679 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.4322, allocations: 76.12 kB / 0.568 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4343, allocations: 1.177 MB / 0.5692 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4346, allocations: 274.4 kB / 0.5694 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.435, allocations: 131 kB / 0.5696 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4351, allocations: 39.42 kB / 0.5696 GB, free: 7.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4351, allocations: 0 / 0.5696 GB, free: 7.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01116/0.4462, allocations: 5.01 MB / 0.5745 GB, free: 2.703 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.427791327238083] Failed to read output from testmodel.py, exit status != 0: 0.45611666329205036 0.47011142100000003 0.066266552 Calling exit ...