Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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.001235/0.001235, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.00111/0.00111, allocations: 172.3 kB / 25.61 MB, free: 8.883 MB / 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 0.877/0.877, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.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.1164/0.1164, allocations: 29.42 MB / 292 MB, free: 2.738 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.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.867e-05, allocations: 3.516 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.003869/0.003888, allocations: 5.427 MB / 376.3 MB, free: 26.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.00767, allocations: 4.231 MB / 380.5 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.007925, allocations: 23.81 kB / 380.6 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.01297, allocations: 5.411 MB / 386 MB, free: 17.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.0135, allocations: 457.5 kB / 386.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.01387, allocations: 291.3 kB / 386.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01499, allocations: 1.847 MB / 388.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004304/0.01542, allocations: 0.6418 MB / 389.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004098/0.01583, allocations: 0.6625 MB / 389.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.01619, allocations: 482.7 kB / 390.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.01625, allocations: 72 kB / 390.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.01641, allocations: 139.8 kB / 390.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.01657, allocations: 351.1 kB / 390.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.01672, allocations: 279.4 kB / 391.1 MB, free: 12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.01717, allocations: 0.6463 MB / 391.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01717, allocations: 7.922 kB / 391.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01718, allocations: 0 / 391.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.01718, allocations: 0 / 391.8 MB, free: 11.35 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0009328/0.01812, allocations: 1.068 MB / 392.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01815, allocations: 8.031 kB / 392.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.01846, allocations: 152.4 kB / 393 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.01898, allocations: 0.554 MB / 393.6 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.01903, allocations: 79.31 kB / 393.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.01909, allocations: 63.98 kB / 393.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.01952, allocations: 0.543 MB / 394.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.01954, allocations: 11.94 kB / 394.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.01958, allocations: 23.98 kB / 394.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.623e-05/0.01966, allocations: 53.28 kB / 394.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.01988, allocations: 234.6 kB / 394.6 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.02159, allocations: 2.58 MB / 397.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.02198, allocations: 284.6 kB / 397.4 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.02207, allocations: 117.8 kB / 397.5 MB, free: 5.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.0221, allocations: 8.656 kB / 397.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.02229, allocations: 263.4 kB / 397.8 MB, free: 5.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.453e-06/0.02229, allocations: 0 / 397.8 MB, free: 5.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001114/0.02341, allocations: 1.019 MB / 398.8 MB, free: 3.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.02344, allocations: 140.4 kB / 399 MB, free: 3.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.02363, allocations: 446.3 kB / 399.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.02365, allocations: 33.7 kB / 399.4 MB, free: 3.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.02377, allocations: 399.2 kB / 399.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.02384, allocations: 174.6 kB / 400 MB, free: 2.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.02393, allocations: 115.9 kB / 400.1 MB, free: 2.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.02399, allocations: 0.5468 MB / 400.7 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.02407, allocations: 98.95 kB / 400.8 MB, free: 1.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.02421, allocations: 329.7 kB / 401.1 MB, free: 1.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.02454, allocations: 0.5606 MB / 401.6 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.02455, allocations: 0 / 401.6 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006323/0.02518, allocations: 0.6399 MB / 402.3 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.02521, allocations: 37.69 kB / 402.3 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.02522, allocations: 4 kB / 402.3 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.02575, allocations: 261.3 kB / 402.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.02615, allocations: 127.8 kB / 402.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.02944, allocations: 4.661 MB / 407.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.02961, allocations: 16 kB / 407.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.02963, allocations: 20 kB / 407.4 MB, free: 10.8 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.02981, allocations: 234 kB / 407.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.02987, allocations: 67.67 kB / 407.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.03035, allocations: 456.4 kB / 408.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.03036, allocations: 4 kB / 408.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.03036, allocations: 4 kB / 408.1 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.03037, allocations: 0 / 408.1 MB, free: 10 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.03134, allocations: 0.9809 MB / 409.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.03134, allocations: 0 / 409.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.03187, allocations: 136 kB / 409.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.03198, allocations: 71.02 kB / 409.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.03201, allocations: 19.92 kB / 409.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.03409, allocations: 5.139 MB / 414.5 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03409, allocations: 4.25 kB / 414.5 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.03474, allocations: 0.7274 MB / 415.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.03484, allocations: 83.58 kB / 415.3 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.03489, allocations: 11.98 kB / 415.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.03501, allocations: 12 kB / 415.3 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.03509, allocations: 39.88 kB / 415.4 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.03511, allocations: 12 kB / 415.4 MB, free: 2.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.03526, allocations: 271 kB / 415.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03526, allocations: 0 / 415.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000496/0.03576, allocations: 160 kB / 415.8 MB, free: 1.859 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (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.0001453/0.0359, allocations: 116.3 kB / 415.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009212/0.03682, allocations: 0.904 MB / 416.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03682, allocations: 0 / 416.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.03725, allocations: 0.7285 MB / 417.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.03766, allocations: 121.5 kB / 417.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.03976, allocations: 1.403 MB / 419.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.03991, allocations: 209.9 kB / 419.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.04008, allocations: 64.56 kB / 419.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.04027, allocations: 174.1 kB / 419.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04027, allocations: 0 / 419.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of Templates: time 0.01018/0.05045, allocations: 8.327 MB / 427.8 MB, free: 5.762 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.03525474620983]