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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 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.1792/0.1792, allocations: 38.51 MB / 344.4 MB, free: 2.52 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001872/0.001872, allocations: 63.89 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 61.25 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008824/0.3514, allocations: 5.865 MB / 0.5363 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008731/0.3602, allocations: 4.478 MB / 0.5407 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.361, allocations: 16.75 kB / 0.5407 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.3727, allocations: 5.093 MB / 0.5456 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3745, allocations: 446.2 kB / 0.5461 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008315/0.3753, allocations: 282.6 kB / 0.5463 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.3779, allocations: 1.755 MB / 0.5481 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.3788, allocations: 0.5905 MB / 0.5486 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/0.3797, allocations: 483.6 kB / 0.5491 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008232/0.3805, allocations: 0.5411 MB / 0.5496 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3806, allocations: 72.56 kB / 0.5497 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.381, allocations: 147.5 kB / 0.5498 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.3815, allocations: 332 kB / 0.5501 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.382, allocations: 399.4 kB / 0.5505 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3834, allocations: 1.035 MB / 0.5515 GB, free: 7.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3834, allocations: 4 kB / 0.5515 GB, free: 7.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3834, allocations: 4 kB / 0.5515 GB, free: 7.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3834, allocations: 0 / 0.5515 GB, free: 7.109 MB / 398.1 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.002162/0.3855, allocations: 1.053 MB / 0.5526 GB, free: 5.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3856, allocations: 11.89 kB / 0.5526 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.3861, allocations: 100.4 kB / 0.5527 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.3872, allocations: 0.6275 MB / 0.5533 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.3873, allocations: 75 kB / 0.5534 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.3875, allocations: 67.98 kB / 0.5534 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.3888, allocations: 0.806 MB / 0.5542 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.3888, allocations: 3.953 kB / 0.5542 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.3888, allocations: 28 kB / 0.5543 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.389, allocations: 53.27 kB / 0.5543 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009925/0.39, allocations: 0.5867 MB / 0.5549 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.3942, allocations: 2.924 MB / 0.5577 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.395, allocations: 406.1 kB / 0.5581 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.3954, allocations: 214.3 kB / 0.5583 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.3954, allocations: 4.656 kB / 0.5583 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/0.396, allocations: 346.5 kB / 0.5587 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.396, allocations: 0 / 0.5587 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003341/0.3993, allocations: 2.054 MB / 0.5607 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3994, allocations: 140.4 kB / 0.5608 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.3999, allocations: 453.8 kB / 0.5612 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.4, allocations: 33.7 kB / 0.5613 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.4002, allocations: 336.6 kB / 0.5616 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.4004, allocations: 174.6 kB / 0.5617 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4006, allocations: 114.3 kB / 0.5619 GB, free: 12.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4008, allocations: 358.8 kB / 0.5622 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.4012, allocations: 237.2 kB / 0.5624 GB, free: 11.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.4016, allocations: 393.1 kB / 0.5628 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.4044, allocations: 1.328 MB / 0.5641 GB, free: 9.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4044, allocations: 4 kB / 0.5641 GB, free: 9.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001767/0.4062, allocations: 0.9632 MB / 0.565 GB, free: 8.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.4062, allocations: 37.7 kB / 0.5651 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4063, allocations: 7.938 kB / 0.5651 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/0.4072, allocations: 304.3 kB / 0.5654 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.4081, allocations: 175.7 kB / 0.5655 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006773/0.4149, allocations: 5.285 MB / 0.5707 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.4152, allocations: 23.98 kB / 0.5707 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.4153, allocations: 24.12 kB / 0.5707 GB, free: 2.461 MB / 414.1 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.0004338/0.4157, allocations: 303.3 kB / 0.571 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.4158, allocations: 63.55 kB / 0.5711 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.417, allocations: 0.8056 MB / 0.5719 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.417, allocations: 11.92 kB / 0.5719 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.417, allocations: 0 / 0.5719 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.417, allocations: 4 kB / 0.5719 GB, free: 1.207 MB / 414.1 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.002475/0.4195, allocations: 1.674 MB / 0.5735 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4195, allocations: 0 / 0.5735 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.4207, allocations: 187.9 kB / 0.5737 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.421, allocations: 82.52 kB / 0.5738 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.421, allocations: 27.86 kB / 0.5738 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.4244, allocations: 4.249 MB / 0.578 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4244, allocations: 0 / 0.578 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4261, allocations: 1.125 MB / 0.5791 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4264, allocations: 176.6 kB / 0.5792 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.4265, allocations: 19.98 kB / 0.5793 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4267, allocations: 15.98 kB / 0.5793 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4268, allocations: 27.97 kB / 0.5793 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.4269, allocations: 19.92 kB / 0.5793 GB, free: 8.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004261/0.4273, allocations: 315.1 kB / 0.5796 GB, free: 8.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4273, allocations: 0 / 0.5796 GB, free: 8.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007732/0.4281, allocations: 160 kB / 0.5798 GB, free: 8.484 MB / 430.1 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.0002007/0.4283, allocations: 127.2 kB / 0.5799 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.4302, allocations: 0.9521 MB / 0.5808 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4302, allocations: 0.8125 kB / 0.5808 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.4311, allocations: 0.6257 MB / 0.5814 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.4318, allocations: 136 kB / 0.5816 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.4346, allocations: 1.674 MB / 0.5832 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.4353, allocations: 0.9799 MB / 0.5842 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.4356, allocations: 116.7 kB / 0.5843 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4358, allocations: 43.42 kB / 0.5843 GB, free: 3.672 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4358, allocations: 0 / 0.5843 GB, free: 3.672 MB / 430.1 MB Notification: Performance of Templates: time 0.01763/0.4534, allocations: 8.843 MB / 0.5929 GB, free: 10.9 MB / 446.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.086399839259684]