Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.0006558/0.0006558, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009192/0.001575, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006579/0.0006579, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000869/0.001527, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9343/0.9343, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0824/1.017, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1192/0.1192, allocations: 29.43 MB / 273.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1172/0.2364, allocations: 9.529 MB / 283.1 MB, free: 12.81 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.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.234e-06/8.156e-06, allocations: 2.969 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.005579/0.005587, allocations: 6.802 MB / 291.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005638/0.01123, allocations: 5.158 MB / 296.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.01163, allocations: 44.09 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00627/0.0179, allocations: 5.878 MB / 302.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009742/0.01888, allocations: 0.5864 MB / 302.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.01977, allocations: 0.5103 MB / 303.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.02175, allocations: 2.367 MB / 305.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007346/0.02248, allocations: 0.8477 MB / 306.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009193/0.0234, allocations: 0.9266 MB / 307.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.02407, allocations: 0.6701 MB / 308.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.02418, allocations: 100 kB / 308.3 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.02465, allocations: 319.4 kB / 308.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.02494, allocations: 470.9 kB / 309.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.02521, allocations: 331.3 kB / 309.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009094/0.02612, allocations: 1.02 MB / 310.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.02613, allocations: 0 / 310.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.02613, allocations: 0 / 310.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.02615, allocations: 4 kB / 310.4 MB, free: 4.574 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.001592/0.02774, allocations: 1.569 MB / 312 MB, free: 2.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.459e-05/0.02776, allocations: 8.031 kB / 312 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.02824, allocations: 273.8 kB / 312.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.02909, allocations: 0.7021 MB / 313 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.02913, allocations: 61.98 kB / 313 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.02923, allocations: 95.86 kB / 313.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.02991, allocations: 0.7747 MB / 313.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.02993, allocations: 8 kB / 313.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.02998, allocations: 28 kB / 313.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.03008, allocations: 85.94 kB / 314 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.0305, allocations: 336.3 kB / 314.4 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.03338, allocations: 3.657 MB / 318 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.0337, allocations: 324.4 kB / 318.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.03386, allocations: 127.2 kB / 318.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.03389, allocations: 12.5 kB / 318.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.03415, allocations: 268.1 kB / 318.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.302e-06/0.03415, allocations: 0 / 318.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.001559/0.03571, allocations: 1.138 MB / 319.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.03573, allocations: 85.77 kB / 320 MB, free: 10.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.03612, allocations: 0.63 MB / 320.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.03616, allocations: 37.7 kB / 320.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.03633, allocations: 441.1 kB / 321 MB, free: 9.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.03646, allocations: 249.9 kB / 321.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.03662, allocations: 174.5 kB / 321.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.03673, allocations: 394.6 kB / 321.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.03687, allocations: 116.8 kB / 322 MB, free: 8.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.03712, allocations: 423.3 kB / 322.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.0376, allocations: 0.6097 MB / 323 MB, free: 7.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.03761, allocations: 4 kB / 323 MB, free: 7.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.000997/0.0386, allocations: 0.7952 MB / 323.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.03862, allocations: 13.56 kB / 323.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.03862, allocations: 8 kB / 323.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008091/0.03943, allocations: 421.7 kB / 324.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.03978, allocations: 188.8 kB / 324.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.04409, allocations: 4.187 MB / 328.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.04455, allocations: 35.95 kB / 328.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.0446, allocations: 39.98 kB / 328.7 MB, free: 1.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.04481, allocations: 172.4 kB / 328.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.04489, allocations: 75.8 kB / 328.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000629/0.04552, allocations: 0.4893 MB / 329.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.04553, allocations: 4 kB / 329.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.04553, allocations: 4 kB / 329.4 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.04554, allocations: 3.984 kB / 329.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.04678, allocations: 1.043 MB / 330.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.04678, allocations: 4 kB / 330.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.04719, allocations: 139.8 kB / 330.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.04734, allocations: 115.3 kB / 330.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.04758, allocations: 126.9 kB / 330.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.04761, allocations: 23.98 kB / 330.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.04942, allocations: 3.796 MB / 334.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.04943, allocations: 0 / 334.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.05015, allocations: 0.7447 MB / 335.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.05021, allocations: 19.98 kB / 335.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.0504, allocations: 20 kB / 335.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.05049, allocations: 48.39 kB / 335.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.05051, allocations: 16 kB / 335.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.05071, allocations: 276.5 kB / 335.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05071, allocations: 0 / 335.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006737/0.05139, allocations: 283.9 kB / 336 MB, free: 9.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.001206/0.05259, allocations: 0.6416 MB / 336.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.05361, allocations: 0.8803 MB / 337.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.199e-05/0.05364, allocations: 20.67 kB / 337.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.05416, allocations: 0.6336 MB / 338.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.05512, allocations: 1.586 MB / 339.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.06583, allocations: 1.917 MB / 341.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.06604, allocations: 280.7 kB / 342 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.06639, allocations: 123.1 kB / 342.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.06671, allocations: 213.2 kB / 342.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06671, allocations: 0 / 342.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of Templates: time 0.01762/0.08433, allocations: 15.29 MB / 357.6 MB, free: 4.148 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9904214087873697]