Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001398/0.001398, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.001402/0.001402, allocations: 158.3 kB / 24.5 MB, free: 3.715 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.2126/0.2126, allocations: 29.43 MB / 290.7 MB, free: 3.266 MB / 270.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.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [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.002189/0.002189, allocations: 67.88 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4118, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007987/0.4197, allocations: 5.191 MB / 498.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.4273, allocations: 3.826 MB / 0.4909 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006571/0.4279, allocations: 24.19 kB / 0.4909 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01314/0.4411, allocations: 5.406 MB / 0.4962 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4425, allocations: 349 kB / 0.4965 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.4433, allocations: 247.3 kB / 0.4967 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.4458, allocations: 1.645 MB / 0.4984 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.4464, allocations: 318.6 kB / 0.4987 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.4469, allocations: 390.3 kB / 0.499 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.4476, allocations: 464.4 kB / 0.4995 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.4477, allocations: 46.34 kB / 0.4995 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.448, allocations: 124 kB / 0.4996 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.4482, allocations: 285.6 kB / 0.4999 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.4484, allocations: 264.9 kB / 0.5002 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.4491, allocations: 0.7538 MB / 0.5009 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4491, allocations: 0 / 0.5009 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4491, allocations: 0 / 0.5009 GB, free: 28.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.4491, allocations: 0 / 0.5009 GB, free: 28.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001468/0.4506, allocations: 0.8556 MB / 0.5017 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4506, allocations: 12.42 kB / 0.5017 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.4511, allocations: 96.05 kB / 0.5018 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.452, allocations: 497.9 kB / 0.5023 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.452, allocations: 31.59 kB / 0.5023 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-05/0.4521, allocations: 54.67 kB / 0.5024 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.4529, allocations: 0.6443 MB / 0.503 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.453, allocations: 11.09 kB / 0.503 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.453, allocations: 19.27 kB / 0.5031 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.4531, allocations: 53.2 kB / 0.5031 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.4538, allocations: 489.6 kB / 0.5036 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.4564, allocations: 2.269 MB / 0.5058 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.4569, allocations: 303 kB / 0.5061 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.4571, allocations: 161.6 kB / 0.5062 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4571, allocations: 18.03 kB / 0.5062 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.4571, allocations: 37.03 kB / 0.5063 GB, free: 25.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.4571, allocations: 0 / 0.5063 GB, free: 25.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.00215/0.4593, allocations: 1.268 MB / 0.5075 GB, free: 24.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4593, allocations: 105.8 kB / 0.5076 GB, free: 24.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.4596, allocations: 406.8 kB / 0.508 GB, free: 24.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4597, allocations: 32.48 kB / 0.508 GB, free: 24.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.4598, allocations: 319.4 kB / 0.5083 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.4599, allocations: 128.5 kB / 0.5085 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.46, allocations: 87.41 kB / 0.5085 GB, free: 23.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.4601, allocations: 359.5 kB / 0.5089 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.4603, allocations: 161.3 kB / 0.509 GB, free: 23.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.4606, allocations: 300.6 kB / 0.5093 GB, free: 23.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.4611, allocations: 492.7 kB / 0.5098 GB, free: 22.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4611, allocations: 3.094 kB / 0.5098 GB, free: 22.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001266/0.4623, allocations: 0.7118 MB / 0.5105 GB, free: 22.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4623, allocations: 7.938 kB / 0.5105 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4624, allocations: 8.594 kB / 0.5105 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.463, allocations: 203.2 kB / 0.5107 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4633, allocations: 75.8 kB / 0.5108 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003819/0.4671, allocations: 3.956 MB / 0.5146 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.4675, allocations: 23.06 kB / 0.5147 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4675, allocations: 22.64 kB / 0.5147 GB, free: 19.33 MB / 446.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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.4678, allocations: 236 kB / 0.5149 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.4679, allocations: 49.67 kB / 0.515 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.4687, allocations: 486.4 kB / 0.5154 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.4687, allocations: 8.312 kB / 0.5154 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4687, allocations: 6.219 kB / 0.5154 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4687, allocations: 1.125 kB / 0.5154 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.4701, allocations: 0.9032 MB / 0.5163 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4701, allocations: 1.156 kB / 0.5163 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.4706, allocations: 80.12 kB / 0.5164 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001681/0.4707, allocations: 48.75 kB / 0.5164 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4708, allocations: 13.59 kB / 0.5165 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.4722, allocations: 2.589 MB / 0.519 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4722, allocations: 1.406 kB / 0.519 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4732, allocations: 0.8051 MB / 0.5198 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4734, allocations: 70.27 kB / 0.5198 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.4734, allocations: 14.23 kB / 0.5199 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.4737, allocations: 9.922 kB / 0.5199 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.4737, allocations: 32.62 kB / 0.5199 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4738, allocations: 9.719 kB / 0.5199 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.4741, allocations: 274.3 kB / 0.5202 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4741, allocations: 0 / 0.5202 GB, free: 15.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006872/0.4748, allocations: 128.3 kB / 0.5203 GB, free: 15.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.4749, allocations: 121.5 kB / 0.5204 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.4762, allocations: 0.7116 MB / 0.5211 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4762, allocations: 1 kB / 0.5211 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.4767, allocations: 402.8 kB / 0.5215 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.4774, allocations: 113.8 kB / 0.5216 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.4797, allocations: 1.491 MB / 0.523 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.4801, allocations: 349.6 kB / 0.5234 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.4804, allocations: 100.5 kB / 0.5235 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4805, allocations: 36.41 kB / 0.5235 GB, free: 13.33 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4805, allocations: 0 / 0.5235 GB, free: 13.33 MB / 446.1 MB Notification: Performance of Templates: time 0.01463/0.4952, allocations: 6.287 MB / 0.5297 GB, free: 12.59 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.376992746954784] Failed to read output from testmodel.py, exit status != 0: 0.5050516619812697 0.519270196 0.06696716900000001 Calling exit ...