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.0008916/0.0008916, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002081, 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.0009205/0.0009205, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002075, 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.9269/0.9269, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08497/1.012, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.1361/0.1361, allocations: 29.43 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1219/0.258, allocations: 9.519 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.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 1.283e-06/1.283e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.333e-05, allocations: 4.219 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.008949/0.008963, allocations: 6.79 MB / 291 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.01792, allocations: 5.152 MB / 296.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.01864, allocations: 39.91 kB / 296.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008999/0.02764, allocations: 5.879 MB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.02899, allocations: 0.5864 MB / 302.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.02991, allocations: 0.5026 MB / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.03193, allocations: 2.371 MB / 305.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008045/0.03274, allocations: 0.8477 MB / 306.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/0.03371, allocations: 0.9188 MB / 307.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.03438, allocations: 0.6662 MB / 308 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.0345, allocations: 100 kB / 308.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.03504, allocations: 319.5 kB / 308.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.03536, allocations: 466.9 kB / 308.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.03567, allocations: 339.3 kB / 309.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.03692, allocations: 1.02 MB / 310.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.03694, allocations: 0 / 310.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03694, allocations: 0 / 310.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.394e-05/0.03697, allocations: 0 / 310.2 MB, free: 4.723 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.001828/0.0388, allocations: 1.573 MB / 311.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.03883, allocations: 12.03 kB / 311.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/0.03935, allocations: 273.8 kB / 312 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.04034, allocations: 0.7176 MB / 312.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.04039, allocations: 58 kB / 312.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.04052, allocations: 95.92 kB / 312.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.04125, allocations: 0.7747 MB / 313.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.04127, allocations: 0 / 313.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.04132, allocations: 39.98 kB / 313.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.04144, allocations: 85.94 kB / 313.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.04184, allocations: 336.3 kB / 314.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.045, allocations: 3.653 MB / 317.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.04535, allocations: 323.5 kB / 318.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.0455, allocations: 119.2 kB / 318.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.04553, allocations: 16.5 kB / 318.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.0458, allocations: 263.5 kB / 318.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.0458, allocations: 0 / 318.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.00161/0.04741, allocations: 1.103 MB / 319.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.04744, allocations: 89.8 kB / 319.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.04783, allocations: 0.63 MB / 320.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.04787, allocations: 37.7 kB / 320.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.04805, allocations: 437.1 kB / 320.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.04817, allocations: 253.9 kB / 321 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.04833, allocations: 174.5 kB / 321.2 MB, free: 9.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.04844, allocations: 398.6 kB / 321.6 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.04858, allocations: 108.8 kB / 321.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.04883, allocations: 419.3 kB / 322.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.04928, allocations: 0.5779 MB / 322.7 MB, free: 7.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.04929, allocations: 8 kB / 322.7 MB, free: 7.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001303/0.05059, allocations: 0.7835 MB / 323.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.05061, allocations: 8 kB / 323.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.05062, allocations: 12 kB / 323.5 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/0.05144, allocations: 411.4 kB / 323.9 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.0518, allocations: 187.7 kB / 324.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.05543, allocations: 4.191 MB / 328.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.05573, allocations: 39.95 kB / 328.3 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.05577, allocations: 35.98 kB / 328.3 MB, free: 1.625 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.0002091/0.05598, allocations: 164.4 kB / 328.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.05606, allocations: 71.88 kB / 328.6 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.05666, allocations: 489 kB / 329 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.05667, allocations: 7.938 kB / 329.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.05667, allocations: 4 kB / 329.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.05668, allocations: 3.984 kB / 329.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.0579, allocations: 1.035 MB / 330.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.05791, allocations: 8.125 kB / 330.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.05831, allocations: 139.8 kB / 330.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.05845, allocations: 111.3 kB / 330.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.05868, allocations: 118.9 kB / 330.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.05871, allocations: 19.98 kB / 330.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.06069, allocations: 3.79 MB / 334.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.06069, allocations: 4 kB / 334.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.06141, allocations: 0.7369 MB / 335 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.06147, allocations: 16 kB / 335 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.06164, allocations: 19.98 kB / 335 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.06172, allocations: 52.34 kB / 335.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.06175, allocations: 15.98 kB / 335.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.06194, allocations: 264.5 kB / 335.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06194, allocations: 0 / 335.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.0625, allocations: 279.9 kB / 335.6 MB, free: 9.879 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.001262/0.06376, allocations: 0.6514 MB / 336.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.06475, allocations: 0.8666 MB / 337.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.208e-05/0.06478, allocations: 12.88 kB / 337.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.06526, allocations: 0.5934 MB / 337.8 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.06582, allocations: 271 kB / 338 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.07686, allocations: 1.93 MB / 340 MB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.07706, allocations: 280.6 kB / 340.2 MB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002769/0.07734, allocations: 119 kB / 340.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.07764, allocations: 221.2 kB / 340.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.07764, allocations: 0 / 340.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of Templates: time 0.01706/0.0947, allocations: 15.34 MB / 355.9 MB, free: 6.035 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: 3.0866170208901167]