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.001554/0.001555, allocations: 117 kB / 18.41 MB, free: 4.688 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.001599/0.0016, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 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.466/1.466, allocations: 222.9 MB / 247 MB, free: 4.23 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.2826/0.2826, allocations: 38 MB / 337.2 MB, free: 12.95 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.002978/0.002979, allocations: 64.55 kB / 467.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1149, allocations: 58.07 MB / 0.5133 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007872/0.1228, allocations: 5.71 MB / 0.5188 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00729/0.1302, allocations: 4.45 MB / 0.5232 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.1307, allocations: 15.94 kB / 0.5232 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009258/0.1399, allocations: 4.901 MB / 0.528 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.1412, allocations: 426 kB / 0.5284 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.1419, allocations: 279.5 kB / 0.5287 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.1441, allocations: 1.715 MB / 0.5303 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/0.1451, allocations: 0.7312 MB / 0.5311 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.1457, allocations: 474.4 kB / 0.5315 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006783/0.1464, allocations: 0.4982 MB / 0.532 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1465, allocations: 72 kB / 0.5321 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1468, allocations: 139.9 kB / 0.5322 GB, free: 6.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.1471, allocations: 331.1 kB / 0.5325 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.1476, allocations: 402.2 kB / 0.5329 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.1487, allocations: 1.031 MB / 0.5339 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1487, allocations: 0 / 0.5339 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1488, allocations: 8 kB / 0.5339 GB, free: 4.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1488, allocations: 0 / 0.5339 GB, free: 4.539 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.002/0.1508, allocations: 1.047 MB / 0.5349 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1508, allocations: 11.89 kB / 0.5349 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004441/0.1513, allocations: 104.4 kB / 0.535 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1525, allocations: 0.6236 MB / 0.5357 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.897e-05/0.1526, allocations: 75 kB / 0.5357 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.1527, allocations: 67.98 kB / 0.5358 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.154, allocations: 0.806 MB / 0.5366 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.1541, allocations: 7.938 kB / 0.5366 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.1541, allocations: 31.98 kB / 0.5366 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.1543, allocations: 49.28 kB / 0.5367 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1553, allocations: 0.5867 MB / 0.5372 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.1595, allocations: 2.92 MB / 0.5401 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.1604, allocations: 438 kB / 0.5405 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.1607, allocations: 222.3 kB / 0.5407 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.1608, allocations: 4.656 kB / 0.5407 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005061/0.1613, allocations: 346.5 kB / 0.5411 GB, free: 12.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 4.629e-06/0.1613, allocations: 7.984 kB / 0.5411 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003337/0.1646, allocations: 2.049 MB / 0.5431 GB, free: 10.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.1648, allocations: 144.5 kB / 0.5432 GB, free: 10.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.1653, allocations: 445.9 kB / 0.5436 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.1654, allocations: 37.64 kB / 0.5437 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.1657, allocations: 340.6 kB / 0.544 GB, free: 9.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1659, allocations: 178.5 kB / 0.5442 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.1661, allocations: 110.3 kB / 0.5443 GB, free: 9.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1663, allocations: 366.8 kB / 0.5446 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.1666, allocations: 233.2 kB / 0.5448 GB, free: 8.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.1672, allocations: 389.8 kB / 0.5452 GB, free: 8.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.17, allocations: 1.331 MB / 0.5465 GB, free: 6.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1701, allocations: 0 / 0.5465 GB, free: 6.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001872/0.1719, allocations: 0.9711 MB / 0.5475 GB, free: 5.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.172, allocations: 29.7 kB / 0.5475 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.172, allocations: 8 kB / 0.5475 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009411/0.173, allocations: 313.6 kB / 0.5478 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/0.174, allocations: 171.8 kB / 0.5479 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/0.1813, allocations: 5.297 MB / 0.5531 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.1817, allocations: 27.94 kB / 0.5531 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.1818, allocations: 24 kB / 0.5532 GB, free: 15.82 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.0004862/0.1823, allocations: 299.3 kB / 0.5535 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.1824, allocations: 59.61 kB / 0.5535 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.1837, allocations: 0.8109 MB / 0.5543 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.1837, allocations: 11.88 kB / 0.5543 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1837, allocations: 96 / 0.5543 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1837, allocations: 7.984 kB / 0.5543 GB, free: 14.57 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.002528/0.1862, allocations: 1.663 MB / 0.5559 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1863, allocations: 0 / 0.5559 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.1876, allocations: 191.9 kB / 0.5561 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.1879, allocations: 78.53 kB / 0.5562 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.188, allocations: 19.92 kB / 0.5562 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.1917, allocations: 4.261 MB / 0.5604 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1917, allocations: 0 / 0.5604 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.1935, allocations: 1.124 MB / 0.5615 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.1937, allocations: 176.6 kB / 0.5617 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.1938, allocations: 15.98 kB / 0.5617 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.1941, allocations: 19.98 kB / 0.5617 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1942, allocations: 35.89 kB / 0.5617 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.1942, allocations: 12 kB / 0.5617 GB, free: 6.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004122/0.1947, allocations: 315.1 kB / 0.562 GB, free: 6.008 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1947, allocations: 0 / 0.562 GB, free: 6.008 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000727/0.1954, allocations: 164 kB / 0.5622 GB, free: 5.848 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.0001653/0.1956, allocations: 115.2 kB / 0.5623 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.1975, allocations: 0.9874 MB / 0.5633 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1975, allocations: 0 / 0.5633 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.1984, allocations: 0.6408 MB / 0.5639 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.1991, allocations: 135.6 kB / 0.564 GB, free: 3.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.202, allocations: 1.732 MB / 0.5657 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.2027, allocations: 0.9799 MB / 0.5667 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2029, allocations: 43.42 kB / 0.5667 GB, free: 1.047 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2029, allocations: 3.938 kB / 0.5667 GB, free: 1.043 MB / 430.1 MB Notification: Performance of Templates: time 0.02002/0.2229, allocations: 14.72 MB / 0.5811 GB, free: 2.344 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: 9.333102029981092] Failed to read output from testmodel.py, exit status != 0: 0.23139609105419368 0.498447878 0.347453648 Calling exit ...