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.001467/0.001467, allocations: 69.25 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001614/0.001614, allocations: 164 kB / 24.5 MB, free: 3.711 MB / 14.72 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.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.1798/0.1798, allocations: 29.42 MB / 290.7 MB, free: 3.262 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003305/0.003305, allocations: 63.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3935, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005266/0.3988, allocations: 5.509 MB / 499.1 MB, free: 34.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.4034, allocations: 4.103 MB / 0.4915 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.4036, allocations: 24.25 kB / 0.4915 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008107/0.4118, allocations: 5.451 MB / 0.4968 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.4126, allocations: 442.3 kB / 0.4972 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.4131, allocations: 278.1 kB / 0.4975 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.4148, allocations: 1.808 MB / 0.4993 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.4154, allocations: 0.626 MB / 0.4999 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.4158, allocations: 490.9 kB / 0.5003 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.4164, allocations: 0.5152 MB / 0.5008 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.4165, allocations: 71.56 kB / 0.5009 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.4167, allocations: 143.5 kB / 0.501 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.4169, allocations: 327.8 kB / 0.5014 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.4172, allocations: 336.2 kB / 0.5017 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007956/0.418, allocations: 1.036 MB / 0.5027 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.418, allocations: 4 kB / 0.5027 GB, free: 27.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.418, allocations: 3.938 kB / 0.5027 GB, free: 27.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.418, allocations: 0 / 0.5027 GB, free: 27.44 MB / 446.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.001556/0.4196, allocations: 0.9682 MB / 0.5036 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.4196, allocations: 13.23 kB / 0.5037 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.42, allocations: 111.1 kB / 0.5038 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009984/0.421, allocations: 0.5582 MB / 0.5043 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.4211, allocations: 77.22 kB / 0.5044 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.4212, allocations: 59.48 kB / 0.5044 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.4221, allocations: 0.839 MB / 0.5053 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.4221, allocations: 10.41 kB / 0.5053 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.4222, allocations: 19.09 kB / 0.5053 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.4223, allocations: 56.38 kB / 0.5053 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.4231, allocations: 0.6129 MB / 0.5059 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.4262, allocations: 2.597 MB / 0.5085 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.427, allocations: 427.8 kB / 0.5089 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4272, allocations: 235.2 kB / 0.5091 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.4273, allocations: 6.562 kB / 0.5091 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/0.4277, allocations: 380 kB / 0.5095 GB, free: 23.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.4277, allocations: 0 / 0.5095 GB, free: 23.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.002799/0.4305, allocations: 1.731 MB / 0.5112 GB, free: 22.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4305, allocations: 135.6 kB / 0.5113 GB, free: 22.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.4309, allocations: 424 kB / 0.5117 GB, free: 21.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4309, allocations: 32.36 kB / 0.5117 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4311, allocations: 349.8 kB / 0.5121 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.4312, allocations: 171.5 kB / 0.5122 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.4313, allocations: 110.8 kB / 0.5123 GB, free: 21.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.4314, allocations: 359.7 kB / 0.5127 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.4318, allocations: 258.6 kB / 0.5129 GB, free: 21.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.4322, allocations: 432.5 kB / 0.5133 GB, free: 20.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.4347, allocations: 1.26 MB / 0.5146 GB, free: 20.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4347, allocations: 1.406 kB / 0.5146 GB, free: 20.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001683/0.4364, allocations: 0.9812 MB / 0.5155 GB, free: 19.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.4364, allocations: 33.14 kB / 0.5156 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4364, allocations: 6.203 kB / 0.5156 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008971/0.4373, allocations: 303.5 kB / 0.5158 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4384, allocations: 175.8 kB / 0.516 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/0.4441, allocations: 4.997 MB / 0.5209 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.4445, allocations: 23.83 kB / 0.5209 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.4446, allocations: 24.7 kB / 0.5209 GB, free: 15.88 MB / 446.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.0003847/0.4449, allocations: 297.6 kB / 0.5212 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.445, allocations: 51.67 kB / 0.5213 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4461, allocations: 0.682 MB / 0.5219 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4461, allocations: 5.344 kB / 0.5219 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4461, allocations: 1.219 kB / 0.5219 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4461, allocations: 3.578 kB / 0.5219 GB, free: 15.28 MB / 446.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.002091/0.4482, allocations: 1.332 MB / 0.5232 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4482, allocations: 3.984 kB / 0.5233 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.4495, allocations: 193.7 kB / 0.5234 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.4498, allocations: 78.3 kB / 0.5235 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.4498, allocations: 21.22 kB / 0.5235 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.4517, allocations: 3.872 MB / 0.5273 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4517, allocations: 1.062 kB / 0.5273 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.453, allocations: 1.03 MB / 0.5283 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.4532, allocations: 90.28 kB / 0.5284 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.4532, allocations: 20.97 kB / 0.5284 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.4535, allocations: 14.33 kB / 0.5284 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.4536, allocations: 40.84 kB / 0.5285 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.4536, allocations: 15.62 kB / 0.5285 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.4539, allocations: 289.1 kB / 0.5288 GB, free: 9.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4539, allocations: 0 / 0.5288 GB, free: 9.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007415/0.4547, allocations: 164.3 kB / 0.5289 GB, free: 9.859 MB / 446.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.0001271/0.4548, allocations: 112.3 kB / 0.529 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.4564, allocations: 1.013 MB / 0.53 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4564, allocations: 0 / 0.53 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.4571, allocations: 0.6606 MB / 0.5307 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.4577, allocations: 127.6 kB / 0.5308 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.4599, allocations: 1.682 MB / 0.5324 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.4604, allocations: 385.5 kB / 0.5328 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.4607, allocations: 118 kB / 0.5329 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4608, allocations: 43.45 kB / 0.533 GB, free: 7.391 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4608, allocations: 0 / 0.533 GB, free: 7.391 MB / 446.1 MB Notification: Performance of Templates: time 0.01437/0.4752, allocations: 7.697 MB / 0.5405 GB, free: 5.867 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.27690412895754] Failed to read output from testmodel.py, exit status != 0: 0.48625661397818476 0.49501971000000006 0.074022901 Calling exit ...