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.001139/0.001139, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001256/0.001256, allocations: 165 kB / 24.56 MB, free: 16 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 0.9995/0.9995, allocations: 177.2 MB / 205 MB, free: 5.285 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.3191/0.3191, allocations: 29.41 MB / 290.9 MB, free: 2.457 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 3.617e-06/3.617e-06, allocations: 4 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.974e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006757/0.006777, allocations: 5.493 MB / 375.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.01359, allocations: 4.278 MB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.01403, allocations: 27.75 kB / 379.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008266/0.0223, allocations: 5.38 MB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006803/0.02298, allocations: 453.5 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.02348, allocations: 299.3 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.02517, allocations: 1.836 MB / 387.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.02581, allocations: 0.6418 MB / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.02645, allocations: 0.6664 MB / 388.7 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.02694, allocations: 478.7 kB / 389.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.518e-05/0.02703, allocations: 75.98 kB / 389.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.02726, allocations: 131.9 kB / 389.4 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.0275, allocations: 351.1 kB / 389.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.02772, allocations: 279.4 kB / 390 MB, free: 6.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.02841, allocations: 0.6541 MB / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.02841, allocations: 0 / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02841, allocations: 0 / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.02842, allocations: 0 / 390.6 MB, free: 5.945 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001224/0.02965, allocations: 1.083 MB / 391.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.02969, allocations: 15.98 kB / 391.7 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.03004, allocations: 156.4 kB / 391.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.03071, allocations: 0.5734 MB / 392.5 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.03077, allocations: 79.33 kB / 392.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.03085, allocations: 63.98 kB / 392.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.03149, allocations: 0.5861 MB / 393.2 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.03151, allocations: 11.94 kB / 393.2 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.03155, allocations: 27.94 kB / 393.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.456e-05/0.03162, allocations: 49.28 kB / 393.3 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.03202, allocations: 293.2 kB / 393.6 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.03441, allocations: 2.696 MB / 396.3 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.03487, allocations: 292.9 kB / 396.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.03501, allocations: 141.7 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.03504, allocations: 12.66 kB / 396.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.03533, allocations: 283.5 kB / 397 MB, free: 15.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.463e-06/0.03533, allocations: 0 / 397 MB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001587/0.03692, allocations: 1.256 MB / 398.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.03697, allocations: 140.5 kB / 398.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.03726, allocations: 446.6 kB / 398.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.03729, allocations: 33.7 kB / 398.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.03747, allocations: 399.2 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.03757, allocations: 170.6 kB / 399.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.03768, allocations: 116 kB / 399.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.03783, allocations: 0.543 MB / 400.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.03798, allocations: 123 kB / 400.2 MB, free: 11.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.03823, allocations: 357.7 kB / 400.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.03882, allocations: 0.6114 MB / 401.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.03882, allocations: 0 / 401.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008466/0.03966, allocations: 0.6947 MB / 401.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.0397, allocations: 37.69 kB / 401.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.0397, allocations: 4 kB / 401.9 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.04029, allocations: 273.5 kB / 402.1 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.04075, allocations: 179.7 kB / 402.3 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.04408, allocations: 4.796 MB / 407.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.04424, allocations: 23.92 kB / 407.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.04427, allocations: 24 kB / 407.2 MB, free: 4.461 MB / 378.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.0001586/0.04443, allocations: 222.2 kB / 407.4 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.04449, allocations: 71.67 kB / 407.4 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.04503, allocations: 496.4 kB / 407.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.04503, allocations: 4 kB / 407.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.04503, allocations: 0 / 407.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.04504, allocations: 0 / 407.9 MB, free: 3.637 MB / 378.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.001183/0.04622, allocations: 1.12 MB / 409 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.04622, allocations: 0 / 409 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.04683, allocations: 195.9 kB / 409.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.04696, allocations: 63.02 kB / 409.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.04698, allocations: 20 kB / 409.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.04895, allocations: 5.192 MB / 414.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.04896, allocations: 4 kB / 414.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.0497, allocations: 0.7755 MB / 415.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.04981, allocations: 91.62 kB / 415.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.04985, allocations: 12 kB / 415.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.04998, allocations: 15.98 kB / 415.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.05006, allocations: 35.88 kB / 415.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.05008, allocations: 16 kB / 415.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.05027, allocations: 283 kB / 415.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05027, allocations: 0 / 415.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.0507, allocations: 168 kB / 415.9 MB, free: 11.14 MB / 394.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.0001178/0.05082, allocations: 107.2 kB / 416 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.05184, allocations: 0.9473 MB / 417 MB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.05184, allocations: 0 / 417 MB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.05229, allocations: 0.7482 MB / 417.7 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.0527, allocations: 114.6 kB / 417.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.0547, allocations: 1.411 MB / 419.2 MB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.05486, allocations: 194 kB / 419.4 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.05507, allocations: 100.5 kB / 419.5 MB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.05516, allocations: 40.44 kB / 419.5 MB, free: 7.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.05516, allocations: 0 / 419.5 MB, free: 7.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01025/0.0654, allocations: 7.993 MB / 427.5 MB, free: 15.39 MB / 410.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.4485463900491595]