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.0009438/0.0009438, 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.001221/0.001221, allocations: 161 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 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.598 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.2751/0.2751, allocations: 29.42 MB / 290.9 MB, free: 2.445 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.984e-06/1.984e-06, allocations: 3.938 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.175e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.01047/0.0105, allocations: 5.474 MB / 375.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006787/0.01729, allocations: 4.285 MB / 379.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.0179, allocations: 23.81 kB / 379.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.02829, allocations: 5.364 MB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.02954, allocations: 449.5 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.0303, allocations: 295.3 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.0331, allocations: 1.84 MB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000997/0.03409, allocations: 0.6379 MB / 388 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.03518, allocations: 0.6275 MB / 388.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008651/0.03605, allocations: 0.4908 MB / 389.1 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.03623, allocations: 72 kB / 389.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.0366, allocations: 143.8 kB / 389.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.03696, allocations: 355.1 kB / 389.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.03733, allocations: 275.4 kB / 389.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.03875, allocations: 0.6541 MB / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.03876, allocations: 0 / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.03876, allocations: 0 / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.496e-05/0.03879, 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.001892/0.04069, allocations: 1.087 MB / 391.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.04073, allocations: 19.98 kB / 391.7 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007835/0.04152, allocations: 148.4 kB / 391.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.04257, allocations: 0.5812 MB / 392.4 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.04266, allocations: 83.31 kB / 392.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.04278, allocations: 63.94 kB / 392.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009705/0.04375, allocations: 0.5861 MB / 393.2 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.04377, allocations: 8 kB / 393.2 MB, free: 3.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.04383, allocations: 20 kB / 393.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/0.04396, allocations: 49.28 kB / 393.2 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006499/0.04461, allocations: 301.2 kB / 393.5 MB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.04855, allocations: 2.704 MB / 396.2 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.0492, allocations: 292.9 kB / 396.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.04943, allocations: 133.8 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.04947, allocations: 8.656 kB / 396.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004063/0.04987, allocations: 283.5 kB / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.866e-06/0.04988, allocations: 0 / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002478/0.05236, allocations: 1.264 MB / 398.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000299/0.05265, allocations: 148.5 kB / 398.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.05305, allocations: 438.6 kB / 398.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-05/0.05314, allocations: 33.7 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.05336, allocations: 399.2 kB / 399.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.05347, allocations: 166.6 kB / 399.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.0536, allocations: 119.9 kB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.05377, allocations: 0.543 MB / 400 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.05395, allocations: 123 kB / 400.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.0542, allocations: 349.7 kB / 400.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.05488, allocations: 0.6192 MB / 401.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.05488, allocations: 4 kB / 401.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009454/0.05583, allocations: 0.687 MB / 401.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.05586, allocations: 37.83 kB / 401.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.05587, allocations: 4 kB / 401.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.05651, allocations: 270 kB / 402.1 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/0.057, allocations: 183.7 kB / 402.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.06039, allocations: 4.8 MB / 407.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.06058, allocations: 31.98 kB / 407.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.06061, allocations: 20 kB / 407.1 MB, free: 4.449 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.0001822/0.06079, allocations: 222.1 kB / 407.3 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.06085, allocations: 67.67 kB / 407.4 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005832/0.06144, allocations: 0.4924 MB / 407.9 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.06144, allocations: 8 kB / 407.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.06144, allocations: 4 kB / 407.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.06145, allocations: 0 / 407.9 MB, free: 3.613 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.001169/0.06262, allocations: 1.104 MB / 409 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.06262, allocations: 48 / 409 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.06322, allocations: 199.8 kB / 409.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.06335, allocations: 70.95 kB / 409.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.06338, allocations: 12 kB / 409.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.06531, allocations: 5.192 MB / 414.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.06531, allocations: 3.938 kB / 414.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.06637, allocations: 0.7792 MB / 415.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.06653, allocations: 91.75 kB / 415.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.06658, allocations: 16 kB / 415.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.06678, allocations: 11.98 kB / 415.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.06687, allocations: 35.94 kB / 415.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.06689, allocations: 12 kB / 415.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.06712, allocations: 279 kB / 415.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06712, allocations: 3.938 kB / 415.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.06769, allocations: 168 kB / 415.9 MB, free: 11.12 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.0001524/0.06784, allocations: 115.1 kB / 416 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.06904, allocations: 0.9504 MB / 416.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.06905, allocations: 0 / 416.9 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.06954, allocations: 0.7414 MB / 417.7 MB, free: 9.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.07006, allocations: 117.2 kB / 417.8 MB, free: 9.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.0733, allocations: 1.408 MB / 419.2 MB, free: 7.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.07346, allocations: 202 kB / 419.4 MB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.07368, allocations: 96.5 kB / 419.5 MB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.07377, allocations: 40.5 kB / 419.5 MB, free: 7.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.07377, allocations: 0 / 419.5 MB, free: 7.25 MB / 394.7 MB Notification: Performance of Templates: time 0.01161/0.08538, allocations: 7.799 MB / 427.3 MB, free: 15.56 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.403883457183838]