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.002535/0.002535, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002966/0.002966, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3084/0.3084, allocations: 29.41 MB / 290.5 MB, free: 2.434 MB / 266.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.793e-06/1.793e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.448e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.008577/0.008612, allocations: 5.449 MB / 374.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007957/0.01657, allocations: 4 MB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005884/0.01716, allocations: 27.81 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01268/0.02983, allocations: 5.477 MB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.03098, allocations: 361.8 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.03175, allocations: 267.4 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.0345, allocations: 1.672 MB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.03512, allocations: 324.4 kB / 386.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007581/0.03588, allocations: 0.4986 MB / 386.9 MB, free: 9.184 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007274/0.03661, allocations: 438.7 kB / 387.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.0367, allocations: 48 kB / 387.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.03702, allocations: 123.7 kB / 387.5 MB, free: 8.586 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.03737, allocations: 303.2 kB / 387.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.03769, allocations: 215.5 kB / 388 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.03879, allocations: 0.7554 MB / 388.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.03879, allocations: 0 / 388.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0388, allocations: 0 / 388.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.03881, allocations: 0 / 388.8 MB, free: 7.32 MB / 362.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.001962/0.04077, allocations: 0.9917 MB / 389.8 MB, free: 6.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.04081, allocations: 15.92 kB / 389.8 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.04138, allocations: 144.4 kB / 389.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.04263, allocations: 0.4951 MB / 390.4 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.04268, allocations: 37.38 kB / 390.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.04278, allocations: 59.86 kB / 390.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.04388, allocations: 0.5128 MB / 391 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.04391, allocations: 4 kB / 391.1 MB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.04397, allocations: 19.98 kB / 391.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.04412, allocations: 48.95 kB / 391.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.04475, allocations: 291.6 kB / 391.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.04884, allocations: 2.669 MB / 394.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.04934, allocations: 249 kB / 394.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.04956, allocations: 111.6 kB / 394.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.04961, allocations: 12 kB / 394.4 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.04965, allocations: 45.31 kB / 394.5 MB, free: 1.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.04965, allocations: 0 / 394.5 MB, free: 1.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002436/0.05209, allocations: 1.017 MB / 395.5 MB, free: 272 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.05217, allocations: 106.8 kB / 395.6 MB, free: 140 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.05278, allocations: 0.4987 MB / 396.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.05283, allocations: 33.7 kB / 396.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.05317, allocations: 394.7 kB / 396.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.05331, allocations: 134.9 kB / 396.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.05348, allocations: 108 kB / 396.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003415/0.05383, allocations: 0.5547 MB / 397.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.05405, allocations: 92.89 kB / 397.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.05455, allocations: 283 kB / 397.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.0552, allocations: 409.2 kB / 398.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.0552, allocations: 4 kB / 398.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001261/0.05647, allocations: 0.5429 MB / 398.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.05648, allocations: 8 kB / 398.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.0565, allocations: 4 kB / 398.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007444/0.05724, allocations: 191.2 kB / 398.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.05757, allocations: 75.88 kB / 398.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.06262, allocations: 4.153 MB / 403.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.06295, allocations: 23.92 kB / 403.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.06299, allocations: 16 kB / 403.1 MB, free: 8.18 MB / 378.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.0002873/0.06328, allocations: 212.5 kB / 403.3 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.06341, allocations: 67.64 kB / 403.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.06426, allocations: 368.7 kB / 403.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.06426, allocations: 4 kB / 403.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.06427, allocations: 0 / 403.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.06428, allocations: 12.02 kB / 403.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.06618, allocations: 0.902 MB / 404.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.06619, allocations: 7.938 kB / 404.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.06665, allocations: 71.89 kB / 404.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.06683, allocations: 51.41 kB / 404.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.06687, allocations: 11.98 kB / 404.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.06968, allocations: 3.468 MB / 408.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.06968, allocations: 0 / 408.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.07083, allocations: 0.7466 MB / 409 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.07103, allocations: 75.62 kB / 409.1 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.07109, allocations: 11.98 kB / 409.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.07134, allocations: 8 kB / 409.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.07141, allocations: 35.88 kB / 409.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.07145, allocations: 12 kB / 409.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003891/0.07184, allocations: 315 kB / 409.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07184, allocations: 0 / 409.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006505/0.07249, allocations: 132 kB / 409.6 MB, free: 1.32 MB / 378.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 0.0001917/0.07268, allocations: 115.2 kB / 409.7 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.07418, allocations: 0.7342 MB / 410.4 MB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.07419, allocations: 0 / 410.4 MB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.07488, allocations: 483.2 kB / 410.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.07564, allocations: 98.84 kB / 411 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.07822, allocations: 1.251 MB / 412.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.07871, allocations: 332.8 kB / 412.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.07901, allocations: 84.3 kB / 412.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.07914, allocations: 48.48 kB / 412.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.664e-06/0.07914, allocations: 0 / 412.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01619/0.09533, allocations: 6.32 MB / 419 MB, free: 7.816 MB / 394.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: 5.13361671299208]