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.001545/0.001545, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001653/0.001653, allocations: 216 kB / 23.73 MB, free: 4.156 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1888/0.1888, allocations: 38.55 MB / 352.5 MB, free: 12.27 MB / 286.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.002132/0.002132, allocations: 67.89 kB / 493 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3965, allocations: 62.46 MB / 0.5424 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.009614/0.4061, allocations: 5.518 MB / 0.5478 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009136/0.4152, allocations: 4.092 MB / 0.5518 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007494/0.416, allocations: 25 kB / 0.5518 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.4292, allocations: 5.428 MB / 0.5571 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.431, allocations: 446 kB / 0.5576 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.4319, allocations: 279.5 kB / 0.5578 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.4353, allocations: 1.793 MB / 0.5596 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.4366, allocations: 0.6297 MB / 0.5602 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.4379, allocations: 482.4 kB / 0.5606 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.439, allocations: 0.5254 MB / 0.5612 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.4391, allocations: 72 kB / 0.5612 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.4395, allocations: 139.8 kB / 0.5614 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.4399, allocations: 339.1 kB / 0.5617 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.4403, allocations: 322.6 kB / 0.562 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.4419, allocations: 1.039 MB / 0.563 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4419, allocations: 0 / 0.563 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.4419, allocations: 0 / 0.563 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.4419, allocations: 4 kB / 0.563 GB, free: 15.07 MB / 414.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.002402/0.4443, allocations: 0.9739 MB / 0.564 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4443, allocations: 15.98 kB / 0.564 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.4448, allocations: 104.4 kB / 0.5641 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.4462, allocations: 0.5554 MB / 0.5646 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.4463, allocations: 79 kB / 0.5647 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.4464, allocations: 67.94 kB / 0.5648 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.4479, allocations: 0.8349 MB / 0.5656 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.448, allocations: 4 kB / 0.5656 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.448, allocations: 23.98 kB / 0.5656 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.4482, allocations: 53.28 kB / 0.5657 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.4493, allocations: 0.6157 MB / 0.5663 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.4537, allocations: 2.598 MB / 0.5688 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/0.4546, allocations: 427.9 kB / 0.5692 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.455, allocations: 236 kB / 0.5694 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.455, allocations: 8.656 kB / 0.5694 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.4555, allocations: 368 kB / 0.5698 GB, free: 7.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.4555, allocations: 0 / 0.5698 GB, free: 7.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003283/0.4588, allocations: 1.731 MB / 0.5715 GB, free: 6.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.4589, allocations: 148.5 kB / 0.5716 GB, free: 5.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.4594, allocations: 417.8 kB / 0.572 GB, free: 5.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.4595, allocations: 37.7 kB / 0.572 GB, free: 5.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.4598, allocations: 344.5 kB / 0.5724 GB, free: 5.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.4599, allocations: 170.5 kB / 0.5725 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.4601, allocations: 118.3 kB / 0.5727 GB, free: 4.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4603, allocations: 354.8 kB / 0.573 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.4607, allocations: 258.9 kB / 0.5732 GB, free: 4.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.4613, allocations: 420.8 kB / 0.5736 GB, free: 3.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.4641, allocations: 1.26 MB / 0.5749 GB, free: 2.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4641, allocations: 4 kB / 0.5749 GB, free: 2.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001851/0.4659, allocations: 0.9845 MB / 0.5758 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.466, allocations: 37.64 kB / 0.5759 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.466, allocations: 8 kB / 0.5759 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000908/0.4669, allocations: 308.3 kB / 0.5762 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/0.4679, allocations: 171.8 kB / 0.5763 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007482/0.4753, allocations: 4.985 MB / 0.5812 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.4759, allocations: 27.98 kB / 0.5812 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.476, allocations: 27.98 kB / 0.5813 GB, free: 11.57 MB / 430.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.0006353/0.4766, allocations: 295.5 kB / 0.5815 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.4767, allocations: 51.67 kB / 0.5816 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.478, allocations: 0.6875 MB / 0.5823 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.478, allocations: 7.938 kB / 0.5823 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.478, allocations: 4 kB / 0.5823 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.478, allocations: 3.984 kB / 0.5823 GB, free: 10.48 MB / 430.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.002386/0.4804, allocations: 1.323 MB / 0.5836 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4804, allocations: 4 kB / 0.5836 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4817, allocations: 195.8 kB / 0.5838 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.4819, allocations: 74.53 kB / 0.5838 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.482, allocations: 11.98 kB / 0.5838 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.4853, allocations: 3.886 MB / 0.5876 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4853, allocations: 0 / 0.5876 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.4868, allocations: 1.017 MB / 0.5886 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.4871, allocations: 103.7 kB / 0.5887 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.4872, allocations: 11.98 kB / 0.5887 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.4874, allocations: 19.98 kB / 0.5888 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4875, allocations: 35.83 kB / 0.5888 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.4876, allocations: 23.92 kB / 0.5888 GB, free: 3.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003757/0.4879, allocations: 283.1 kB / 0.5891 GB, free: 3.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4879, allocations: 0 / 0.5891 GB, free: 3.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000756/0.4887, allocations: 164 kB / 0.5892 GB, free: 2.914 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.0001665/0.4889, allocations: 119.2 kB / 0.5894 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.4907, allocations: 1.01 MB / 0.5903 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4907, allocations: 4 kB / 0.5903 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.4916, allocations: 0.662 MB / 0.591 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.4923, allocations: 119.2 kB / 0.5911 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4953, allocations: 1.697 MB / 0.5928 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.4958, allocations: 381.8 kB / 0.5931 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003633/0.4961, allocations: 124.5 kB / 0.5932 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4962, allocations: 39.42 kB / 0.5933 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4962, allocations: 0 / 0.5933 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Templates: time 0.01714/0.5134, allocations: 8.511 MB / 0.6016 GB, free: 6.184 MB / 446.1 MB " [Timeout remaining time 659] 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.590535840019584] Failed to read output from testmodel.py, exit status != 0: 0.5229947306215763 0.537983565 0.092717084 Calling exit ...