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.0006497/0.0006497, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008495/0.001499, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006914/0.0006914, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008295/0.001521, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9284/0.9284, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07435/1.003, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.114/0.114, allocations: 29.42 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1292/0.2432, allocations: 9.515 MB / 282.9 MB, free: 12.85 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.079e-05, allocations: 3.297 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006893/0.006914, allocations: 5.537 MB / 289.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.01312, allocations: 4.337 MB / 294.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.01348, allocations: 29.69 kB / 294.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008163/0.02164, allocations: 4.93 MB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009746/0.02262, allocations: 457.4 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.02323, allocations: 295.3 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.02519, allocations: 1.79 MB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007165/0.0259, allocations: 0.6476 MB / 302.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.02667, allocations: 0.6976 MB / 302.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.02726, allocations: 474.6 kB / 303.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.02735, allocations: 72 kB / 303.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.02763, allocations: 135.8 kB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.02791, allocations: 319.2 kB / 303.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.02819, allocations: 231.6 kB / 304.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.02896, allocations: 0.6113 MB / 304.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.02897, allocations: 0 / 304.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02898, allocations: 0 / 304.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.02899, allocations: 0 / 304.7 MB, free: 10.21 MB / 298.7 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.001494/0.03049, allocations: 1.091 MB / 305.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.03052, allocations: 8.031 kB / 305.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.03094, allocations: 205.9 kB / 306 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.03171, allocations: 484.4 kB / 306.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.03178, allocations: 87.3 kB / 306.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.03187, allocations: 63.94 kB / 306.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.03255, allocations: 0.522 MB / 307.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.03257, allocations: 11.94 kB / 307.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.03263, allocations: 23.98 kB / 307.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-05/0.03272, allocations: 53.28 kB / 307.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.0331, allocations: 225.5 kB / 307.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.03497, allocations: 1.962 MB / 309.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.03531, allocations: 293.9 kB / 309.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.0354, allocations: 104.8 kB / 309.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.03542, allocations: 12.66 kB / 309.8 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.03563, allocations: 262.7 kB / 310.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.532e-06/0.03563, allocations: 0 / 310.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001161/0.0368, allocations: 0.9404 MB / 311 MB, free: 3.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.03684, allocations: 136.5 kB / 311.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.03703, allocations: 359.1 kB / 311.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.03706, allocations: 37.7 kB / 311.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.03718, allocations: 301.5 kB / 311.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.03727, allocations: 166.6 kB / 312 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.03737, allocations: 110.2 kB / 312.1 MB, free: 2.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.03745, allocations: 358.7 kB / 312.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/0.03754, allocations: 101.8 kB / 312.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.0377, allocations: 259.4 kB / 312.8 MB, free: 1.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.03809, allocations: 0.5052 MB / 313.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.03809, allocations: 0 / 313.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006048/0.0387, allocations: 0.5319 MB / 313.9 MB, free: 468 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.03873, allocations: 33.7 kB / 313.9 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.03873, allocations: 4.047 kB / 313.9 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/0.03923, allocations: 260.9 kB / 314.2 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.03963, allocations: 143.9 kB / 314.3 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.0422, allocations: 3.555 MB / 317.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.04234, allocations: 19.98 kB / 317.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.04236, allocations: 16 kB / 317.9 MB, free: 12.25 MB / 314.7 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.0001384/0.0425, allocations: 190.1 kB / 318.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.04255, allocations: 43.95 kB / 318.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.04292, allocations: 389.6 kB / 318.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.04292, allocations: 4 kB / 318.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04292, allocations: 8 kB / 318.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.04293, allocations: 3.984 kB / 318.5 MB, free: 11.57 MB / 314.7 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.0007916/0.04372, allocations: 0.8092 MB / 319.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.04372, allocations: 4.094 kB / 319.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.04428, allocations: 167.8 kB / 319.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.04437, allocations: 75.64 kB / 319.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.04447, allocations: 68.11 kB / 319.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.0445, allocations: 15.94 kB / 319.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.0458, allocations: 3.556 MB / 323.2 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.04581, allocations: 3.938 kB / 323.2 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.04629, allocations: 0.6297 MB / 323.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.04633, allocations: 23.89 kB / 323.9 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.04644, allocations: 8 kB / 323.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.04649, allocations: 35.94 kB / 323.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.04651, allocations: 8 kB / 323.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.972e-05/0.04661, allocations: 144.7 kB / 324.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04661, allocations: 0 / 324.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.04696, allocations: 164 kB / 324.2 MB, free: 5.461 MB / 314.7 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 9.187e-05/0.04705, allocations: 100.3 kB / 324.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.04777, allocations: 0.7504 MB / 325.1 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.04778, allocations: 8 kB / 325.1 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.0481, allocations: 0.5609 MB / 325.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.04845, allocations: 166.1 kB / 325.8 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.05729, allocations: 1.3 MB / 327.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.05743, allocations: 205.7 kB / 327.3 MB, free: 2.191 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.05759, allocations: 60.58 kB / 327.3 MB, free: 2.133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.05778, allocations: 147.3 kB / 327.5 MB, free: 1.988 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05778, allocations: 0 / 327.5 MB, free: 1.988 MB / 314.7 MB Notification: Performance of Templates: time 0.01013/0.06791, allocations: 8.289 MB / 335.8 MB, free: 9.844 MB / 330.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7132993889972568]