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.001311/0.001311, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001541/0.001541, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.1845/0.1845, allocations: 38.56 MB / 353.2 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: 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.002136/0.002136, allocations: 67.89 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 62.46 MB / 0.5431 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.00741/0.3636, allocations: 4.331 MB / 0.5474 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.3664, allocations: 1.383 MB / 0.5487 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3666, allocations: 20.44 kB / 0.5487 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.3678, allocations: 375.4 kB / 0.5491 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.3684, allocations: 252.4 kB / 0.5493 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.3692, allocations: 254 kB / 0.5496 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006783/0.3698, allocations: 0.5577 MB / 0.5501 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.3703, allocations: 221.7 kB / 0.5503 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.3707, allocations: 270.8 kB / 0.5506 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.3712, allocations: 371.2 kB / 0.551 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.3713, allocations: 38.34 kB / 0.551 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.3718, allocations: 231.3 kB / 0.5512 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.3721, allocations: 243.7 kB / 0.5514 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.3723, allocations: 205.5 kB / 0.5516 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.3732, allocations: 0.6854 MB / 0.5523 GB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3732, allocations: 1.031 kB / 0.5523 GB, free: 9.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3732, allocations: 0 / 0.5523 GB, free: 9.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3732, allocations: 4 kB / 0.5523 GB, free: 9.738 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.001575/0.3748, allocations: 0.7158 MB / 0.553 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.3749, allocations: 14.36 kB / 0.553 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.3758, allocations: 121.1 kB / 0.5531 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.3767, allocations: 361.4 kB / 0.5535 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.3768, allocations: 28.97 kB / 0.5535 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.377, allocations: 58.5 kB / 0.5536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3783, allocations: 0.6783 MB / 0.5542 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3783, allocations: 1.188 kB / 0.5542 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.3784, allocations: 20.55 kB / 0.5543 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.3786, allocations: 49.78 kB / 0.5543 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3798, allocations: 0.6626 MB / 0.5549 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.3835, allocations: 2.209 MB / 0.5571 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.3841, allocations: 325.7 kB / 0.5574 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.3845, allocations: 226 kB / 0.5576 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3845, allocations: 4.281 kB / 0.5576 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.3845, allocations: 46.77 kB / 0.5577 GB, free: 5.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.3846, allocations: 0 / 0.5577 GB, free: 5.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002501/0.3871, allocations: 1.409 MB / 0.5591 GB, free: 3.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.3871, allocations: 85.11 kB / 0.5591 GB, free: 3.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.3875, allocations: 284.2 kB / 0.5594 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.3875, allocations: 33.7 kB / 0.5594 GB, free: 3.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.3877, allocations: 252.2 kB / 0.5597 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.3879, allocations: 162.6 kB / 0.5598 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.388, allocations: 102.1 kB / 0.5599 GB, free: 2.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3882, allocations: 342.8 kB / 0.5603 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3886, allocations: 217 kB / 0.5605 GB, free: 2.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.389, allocations: 371.9 kB / 0.5608 GB, free: 1.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.3899, allocations: 0.6239 MB / 0.5614 GB, free: 1.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3899, allocations: 0 / 0.5614 GB, free: 1.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001371/0.3913, allocations: 0.7201 MB / 0.5621 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3913, allocations: 8 kB / 0.5621 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009461/0.3923, allocations: 0.5225 MB / 0.5627 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.3926, allocations: 72.78 kB / 0.5627 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.3931, allocations: 111.8 kB / 0.5628 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.3949, allocations: 1.597 MB / 0.5644 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.3952, allocations: 31.97 kB / 0.5644 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.3953, allocations: 19.94 kB / 0.5644 GB, free: 13.84 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.0003417/0.3956, allocations: 213.7 kB / 0.5646 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3957, allocations: 43.69 kB / 0.5647 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3968, allocations: 0.5589 MB / 0.5652 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.3968, allocations: 23.92 kB / 0.5653 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3968, allocations: 0 / 0.5653 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3968, allocations: 0 / 0.5653 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.3989, allocations: 1.056 MB / 0.5663 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.399, allocations: 0 / 0.5663 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.3994, allocations: 83.89 kB / 0.5664 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3994, allocations: 0 / 0.5664 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.3994, allocations: 15.98 kB / 0.5664 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3994, allocations: 4.094 kB / 0.5664 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3994, allocations: 4 kB / 0.5664 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.4008, allocations: 0.9278 MB / 0.5673 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4009, allocations: 39.77 kB / 0.5673 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/0.401, allocations: 8 kB / 0.5673 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4012, allocations: 20.02 kB / 0.5674 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.4013, allocations: 28.19 kB / 0.5674 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.4013, allocations: 8 kB / 0.5674 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.4015, allocations: 195.1 kB / 0.5676 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4015, allocations: 7.938 kB / 0.5676 GB, free: 10.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.4022, allocations: 119.9 kB / 0.5677 GB, free: 10.42 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.000298/0.4025, allocations: 135.1 kB / 0.5678 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4037, allocations: 0.642 MB / 0.5685 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4037, allocations: 4.125 kB / 0.5685 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.4041, allocations: 235.5 kB / 0.5687 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.4046, allocations: 72.48 kB / 0.5688 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.4069, allocations: 1.226 MB / 0.57 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.4072, allocations: 274.4 kB / 0.5702 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.4074, allocations: 43.42 kB / 0.5703 GB, free: 7.711 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4074, allocations: 0 / 0.5703 GB, free: 7.711 MB / 414.1 MB Notification: Performance of Templates: time 0.01302/0.4204, allocations: 6.755 MB / 0.5769 GB, free: 0.9648 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: 9.264977651182562] Failed to read output from testmodel.py, exit status != 0: 0.43019554065540433 0.445213862 0.068816187 Calling exit ...