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.001357/0.001357, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001386/0.001386, allocations: 190.8 kB / 20.73 MB, free: 2.297 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.447/1.447, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.1796/0.1796, allocations: 38.52 MB / 342.5 MB, free: 8.012 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.001969/0.001969, allocations: 67.83 kB / 479.1 MB, free: 33.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 61.25 MB / 0.5277 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.009194/0.1356, allocations: 5.77 MB / 0.5333 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008278/0.1439, allocations: 4.471 MB / 0.5377 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.1445, allocations: 15.94 kB / 0.5377 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.1553, allocations: 4.917 MB / 0.5425 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.157, allocations: 446 kB / 0.5429 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.1579, allocations: 275.5 kB / 0.5432 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.1604, allocations: 1.719 MB / 0.5449 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/0.1614, allocations: 0.622 MB / 0.5455 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008208/0.1623, allocations: 482.4 kB / 0.5459 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.1631, allocations: 0.5489 MB / 0.5465 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1632, allocations: 72 kB / 0.5465 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.1635, allocations: 151.8 kB / 0.5467 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.1639, allocations: 335 kB / 0.547 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.1643, allocations: 398.2 kB / 0.5474 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1659, allocations: 1.035 MB / 0.5484 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1659, allocations: 0 / 0.5484 GB, free: 11.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1659, allocations: 0 / 0.5484 GB, free: 11.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1659, allocations: 4 kB / 0.5484 GB, free: 11.58 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.002238/0.1682, allocations: 1.047 MB / 0.5494 GB, free: 10.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1682, allocations: 11.89 kB / 0.5494 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.1687, allocations: 104.4 kB / 0.5495 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.1699, allocations: 0.6274 MB / 0.5502 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.17, allocations: 82.98 kB / 0.5502 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1702, allocations: 56 kB / 0.5503 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1715, allocations: 0.8099 MB / 0.5511 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.1716, allocations: 7.938 kB / 0.5511 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.1716, allocations: 24 kB / 0.5511 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.1718, allocations: 53.28 kB / 0.5512 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1728, allocations: 0.5867 MB / 0.5517 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/0.1772, allocations: 2.931 MB / 0.5546 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/0.1781, allocations: 410.1 kB / 0.555 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1785, allocations: 202.3 kB / 0.5552 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1785, allocations: 8.641 kB / 0.5552 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.1791, allocations: 342.4 kB / 0.5555 GB, free: 3.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.1791, allocations: 0 / 0.5555 GB, free: 3.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003718/0.1828, allocations: 2.053 MB / 0.5575 GB, free: 1.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1829, allocations: 144.4 kB / 0.5577 GB, free: 1.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.1835, allocations: 449.9 kB / 0.5581 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.1835, allocations: 29.7 kB / 0.5581 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.1839, allocations: 344.6 kB / 0.5584 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.184, allocations: 166.6 kB / 0.5586 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.1842, allocations: 114.3 kB / 0.5587 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1844, allocations: 366.8 kB / 0.5591 GB, free: 148 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.1849, allocations: 233.2 kB / 0.5593 GB, free: 15.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.1854, allocations: 389.8 kB / 0.5596 GB, free: 15.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/0.1884, allocations: 1.328 MB / 0.5609 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1884, allocations: 0 / 0.5609 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001929/0.1903, allocations: 0.9633 MB / 0.5619 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.1904, allocations: 33.77 kB / 0.5619 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1904, allocations: 8 kB / 0.5619 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009632/0.1913, allocations: 311.6 kB / 0.5622 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/0.1923, allocations: 175.7 kB / 0.5624 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/0.1998, allocations: 5.29 MB / 0.5676 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.2004, allocations: 32.06 kB / 0.5676 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.2005, allocations: 28 kB / 0.5676 GB, free: 6.914 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.0005534/0.201, allocations: 306.2 kB / 0.5679 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.2011, allocations: 59.61 kB / 0.568 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.2025, allocations: 0.8034 MB / 0.5687 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2025, allocations: 7.938 kB / 0.5688 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.2026, allocations: 7.938 kB / 0.5688 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.2026, allocations: 4 kB / 0.5688 GB, free: 5.664 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.002683/0.2052, allocations: 1.662 MB / 0.5704 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2052, allocations: 0 / 0.5704 GB, free: 3.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.2065, allocations: 195.9 kB / 0.5706 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/0.2068, allocations: 70.53 kB / 0.5706 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.2068, allocations: 19.92 kB / 0.5707 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.2102, allocations: 4.261 MB / 0.5748 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2102, allocations: 4.031 kB / 0.5748 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.2119, allocations: 1.124 MB / 0.5759 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.2121, allocations: 176.6 kB / 0.5761 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.2122, allocations: 19.94 kB / 0.5761 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.2125, allocations: 15.98 kB / 0.5761 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2126, allocations: 39.95 kB / 0.5762 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.2126, allocations: 8 kB / 0.5762 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004328/0.2131, allocations: 323 kB / 0.5765 GB, free: 13.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2131, allocations: 0 / 0.5765 GB, free: 13.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007779/0.2138, allocations: 164 kB / 0.5766 GB, free: 12.94 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.0001755/0.214, allocations: 115.2 kB / 0.5767 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2159, allocations: 0.9521 MB / 0.5777 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2159, allocations: 0 / 0.5777 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008848/0.2168, allocations: 0.6292 MB / 0.5783 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.2176, allocations: 129.7 kB / 0.5784 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.2205, allocations: 1.67 MB / 0.58 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.2212, allocations: 0.9799 MB / 0.581 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.2216, allocations: 120.7 kB / 0.5811 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2217, allocations: 39.42 kB / 0.5812 GB, free: 8.145 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2217, allocations: 0 / 0.5812 GB, free: 8.145 MB / 446.1 MB Notification: Performance of Templates: time 0.0178/0.2395, allocations: 8.659 MB / 0.5896 GB, free: 15.55 MB / 462.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.145525862462819]