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.0009965/0.0009965, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002301, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001084/0.001084, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002411, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9592/0.9592, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08049/1.04, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.1207/0.1207, allocations: 29.42 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1295/0.2501, allocations: 9.523 MB / 282.9 MB, free: 12.85 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.198e-05, allocations: 3.953 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.00646/0.006472, allocations: 5.286 MB / 289.5 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.01055, allocations: 4.053 MB / 293.6 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.01076, allocations: 28 kB / 293.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006182/0.01694, allocations: 4.912 MB / 298.5 MB, free: 488 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.01737, allocations: 369.8 kB / 298.9 MB, free: 116 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.01776, allocations: 255.4 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.01899, allocations: 1.633 MB / 300.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.01932, allocations: 313.1 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.01975, allocations: 0.5511 MB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.02011, allocations: 410.8 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.02016, allocations: 48 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.02035, allocations: 123.7 kB / 302.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.02052, allocations: 275.3 kB / 302.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.02068, allocations: 183.6 kB / 302.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.02113, allocations: 0.5021 MB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.02114, allocations: 0 / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.02115, allocations: 4 kB / 303.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.02116, allocations: 0 / 303.1 MB, free: 11.83 MB / 298.7 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.0009722/0.02213, allocations: 0.9567 MB / 304.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.02216, allocations: 8.031 kB / 304.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.02246, allocations: 182 kB / 304.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.02297, allocations: 460.2 kB / 304.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.02299, allocations: 33.38 kB / 304.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.02304, allocations: 55.88 kB / 304.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.02342, allocations: 419.5 kB / 305.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.02344, allocations: 0 / 305.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.02346, allocations: 23.98 kB / 305.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-05/0.02353, allocations: 48.97 kB / 305.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.02371, allocations: 146.8 kB / 305.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.02537, allocations: 1.848 MB / 307.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.02557, allocations: 216.5 kB / 307.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.02564, allocations: 74.56 kB / 307.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.02566, allocations: 11.98 kB / 307.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.02568, allocations: 38.56 kB / 307.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.293e-06/0.02568, allocations: 0 / 307.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009811/0.02666, allocations: 0.6024 MB / 308.2 MB, free: 6.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.0267, allocations: 106.8 kB / 308.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.02688, allocations: 359.2 kB / 308.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.0269, allocations: 33.7 kB / 308.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.02699, allocations: 269 kB / 309 MB, free: 5.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.02705, allocations: 130.9 kB / 309.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.02712, allocations: 82.11 kB / 309.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.02721, allocations: 358.8 kB / 309.5 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.02726, allocations: 44.98 kB / 309.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.02737, allocations: 193.2 kB / 309.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.02757, allocations: 258.5 kB / 310 MB, free: 4.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02757, allocations: 4 kB / 310 MB, free: 4.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004386/0.02801, allocations: 401.6 kB / 310.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.02802, allocations: 15.94 kB / 310.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02803, allocations: 4 kB / 310.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.02835, allocations: 171.2 kB / 310.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.02856, allocations: 79.89 kB / 310.7 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.03075, allocations: 2.921 MB / 313.6 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.03086, allocations: 12 kB / 313.6 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.03088, allocations: 20 kB / 313.6 MB, free: 0.6523 MB / 298.7 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.0001027/0.03098, allocations: 140.6 kB / 313.8 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.03103, allocations: 43.89 kB / 313.8 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.03134, allocations: 275.5 kB / 314.1 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.03134, allocations: 4 kB / 314.1 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.03135, allocations: 8.031 kB / 314.1 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.03135, allocations: 0 / 314.1 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.03204, allocations: 0.5852 MB / 314.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.03205, allocations: 4 kB / 314.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.0323, allocations: 87.98 kB / 314.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.03237, allocations: 55.69 kB / 314.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.03245, allocations: 47.28 kB / 314.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.03247, allocations: 8 kB / 314.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009046/0.03337, allocations: 2.383 MB / 317.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.03337, allocations: 8 kB / 317.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.03377, allocations: 0.5381 MB / 317.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.0338, allocations: 8 kB / 317.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.03391, allocations: 12 kB / 317.8 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.03395, allocations: 27.89 kB / 317.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.03396, allocations: 8 kB / 317.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.202e-05/0.03405, allocations: 144.7 kB / 318 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03405, allocations: 0 / 318 MB, free: 11.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.03435, allocations: 136 kB / 318.1 MB, free: 11.84 MB / 314.7 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 8.173e-05/0.03443, allocations: 90.17 kB / 318.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.03492, allocations: 0.5298 MB / 318.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.03494, allocations: 15.88 kB / 318.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.03513, allocations: 334.8 kB / 319.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.0355, allocations: 149.7 kB / 319.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007426/0.04293, allocations: 1.125 MB / 320.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.04304, allocations: 181.7 kB / 320.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.04318, allocations: 60.34 kB / 320.6 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.04335, allocations: 131.3 kB / 320.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04335, allocations: 0 / 320.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of Templates: time 0.008309/0.05166, allocations: 6.791 MB / 327.5 MB, free: 2.457 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7431343076750636]