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.001912/0.001912, allocations: 75.06 kB / 20.49 MB, free: 1.246 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.002804/0.002804, allocations: 163.3 kB / 23.75 MB, free: 4.223 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.48/1.48, allocations: 177.2 MB / 204.1 MB, free: 9.281 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.1713/0.1713, allocations: 29.44 MB / 289.9 MB, free: 3.398 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.002082/0.002082, allocations: 67.89 kB / 430.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 62.44 MB / 492.9 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008234/0.3423, allocations: 5.505 MB / 498.4 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.3501, allocations: 4.089 MB / 0.4907 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.3506, allocations: 31.81 kB / 0.4907 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.3629, allocations: 5.455 MB / 0.496 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3643, allocations: 438 kB / 0.4965 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.3651, allocations: 283.5 kB / 0.4967 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.368, allocations: 1.808 MB / 0.4985 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.369, allocations: 0.6182 MB / 0.4991 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.3701, allocations: 0.6584 MB / 0.4997 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008259/0.3709, allocations: 0.5137 MB / 0.5003 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.3711, allocations: 72 kB / 0.5003 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.3714, allocations: 135.8 kB / 0.5004 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.3718, allocations: 335.1 kB / 0.5008 GB, free: 14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.3722, allocations: 326.6 kB / 0.5011 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.3735, allocations: 1.039 MB / 0.5021 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3735, allocations: 0 / 0.5021 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3735, allocations: 0 / 0.5021 GB, free: 12.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3735, allocations: 4 kB / 0.5021 GB, free: 12.63 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.001976/0.3755, allocations: 0.9758 MB / 0.5031 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.3755, allocations: 15.98 kB / 0.5031 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.376, allocations: 104.4 kB / 0.5032 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3772, allocations: 0.5593 MB / 0.5037 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3773, allocations: 79 kB / 0.5038 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.3774, allocations: 63.89 kB / 0.5038 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3788, allocations: 0.835 MB / 0.5047 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.3788, allocations: 8 kB / 0.5047 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.3789, allocations: 24 kB / 0.5047 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.379, allocations: 57.27 kB / 0.5047 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3801, allocations: 0.6117 MB / 0.5053 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.3843, allocations: 2.602 MB / 0.5079 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/0.3852, allocations: 423.8 kB / 0.5083 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.3856, allocations: 236 kB / 0.5085 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.3856, allocations: 4.656 kB / 0.5085 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/0.3862, allocations: 376.1 kB / 0.5089 GB, free: 5.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 6.392e-06/0.3862, allocations: 4 kB / 0.5089 GB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00341/0.3896, allocations: 1.728 MB / 0.5106 GB, free: 3.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3897, allocations: 136.5 kB / 0.5107 GB, free: 3.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.3902, allocations: 421.7 kB / 0.5111 GB, free: 3.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.3903, allocations: 37.7 kB / 0.5111 GB, free: 2.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.3906, allocations: 352.5 kB / 0.5115 GB, free: 2.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3907, allocations: 162.6 kB / 0.5116 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.3909, allocations: 114.3 kB / 0.5117 GB, free: 2.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3911, allocations: 358.8 kB / 0.5121 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.3915, allocations: 254.9 kB / 0.5123 GB, free: 1.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.3921, allocations: 427.4 kB / 0.5127 GB, free: 1.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.3949, allocations: 1.258 MB / 0.514 GB, free: 15.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3949, allocations: 3.938 kB / 0.514 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001925/0.3969, allocations: 0.982 MB / 0.5149 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.3969, allocations: 37.69 kB / 0.515 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3969, allocations: 4 kB / 0.515 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/0.3978, allocations: 305.7 kB / 0.5153 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.3988, allocations: 175.7 kB / 0.5154 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006993/0.4058, allocations: 5 MB / 0.5203 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.4062, allocations: 23.98 kB / 0.5203 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.4062, allocations: 24 kB / 0.5204 GB, free: 9.129 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.0004814/0.4067, allocations: 295.3 kB / 0.5206 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.4068, allocations: 51.67 kB / 0.5207 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.4081, allocations: 0.6875 MB / 0.5214 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.4081, allocations: 7.984 kB / 0.5214 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4081, allocations: 0 / 0.5214 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4081, allocations: 0 / 0.5214 GB, free: 8.047 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.002299/0.4104, allocations: 1.326 MB / 0.5227 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4104, allocations: 0 / 0.5227 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.4116, allocations: 191.9 kB / 0.5228 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.4119, allocations: 82.45 kB / 0.5229 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.4119, allocations: 20 kB / 0.5229 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.4157, allocations: 3.87 MB / 0.5267 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4157, allocations: 8.016 kB / 0.5267 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4175, allocations: 1.033 MB / 0.5277 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.4177, allocations: 91.62 kB / 0.5278 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.4178, allocations: 15.94 kB / 0.5278 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4181, allocations: 19.97 kB / 0.5279 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4182, allocations: 31.94 kB / 0.5279 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.4182, allocations: 19.94 kB / 0.5279 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.4186, allocations: 291.1 kB / 0.5282 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4186, allocations: 0 / 0.5282 GB, free: 0.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000802/0.4194, allocations: 160 kB / 0.5283 GB, free: 480 kB / 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.0001983/0.4196, allocations: 119.2 kB / 0.5284 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.4217, allocations: 1.01 MB / 0.5294 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4217, allocations: 0 / 0.5294 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.4226, allocations: 0.6581 MB / 0.5301 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.4233, allocations: 113 kB / 0.5302 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.4264, allocations: 1.707 MB / 0.5319 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000595/0.427, allocations: 377.8 kB / 0.5322 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.4273, allocations: 116.5 kB / 0.5323 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4274, allocations: 36.5 kB / 0.5324 GB, free: 12.16 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4274, allocations: 0 / 0.5324 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Templates: time 0.01665/0.4441, allocations: 7.707 MB / 0.5399 GB, free: 4.562 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.29644108004868] Failed to read output from testmodel.py, exit status != 0: 0.4534041304141283 0.46847037299999994 0.091504339 Calling exit ...