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.0009099/0.0009099, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001048/0.001048, allocations: 170 kB / 24.91 MB, free: 9.18 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.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.2529/0.2529, allocations: 29.42 MB / 291.2 MB, free: 2.41 MB / 266.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.372e-06/1.372e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.169e-05, allocations: 7.188 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005694/0.005716, allocations: 5.49 MB / 322.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.01114, allocations: 4.321 MB / 326.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.01162, allocations: 23.81 kB / 326.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006877/0.0185, allocations: 5.212 MB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.01958, allocations: 445.6 kB / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.02014, allocations: 291.3 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.02194, allocations: 1.828 MB / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.02253, allocations: 0.6593 MB / 335.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.02311, allocations: 0.6586 MB / 335.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.02356, allocations: 458.7 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.02363, allocations: 72 kB / 336.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.02384, allocations: 135.8 kB / 336.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.02406, allocations: 355.1 kB / 336.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.02426, allocations: 279.4 kB / 337.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.02489, allocations: 0.6464 MB / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.0249, allocations: 0 / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0249, allocations: 0 / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.02491, allocations: 0 / 337.7 MB, free: 11.03 MB / 314.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.0009812/0.02589, allocations: 0.931 MB / 338.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.02592, allocations: 15.97 kB / 338.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.02623, allocations: 128.8 kB / 338.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.0268, allocations: 484.5 kB / 339.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.02686, allocations: 79.33 kB / 339.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.02693, allocations: 71.92 kB / 339.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.02746, allocations: 0.526 MB / 339.9 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.02748, allocations: 11.92 kB / 339.9 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.02751, allocations: 20 kB / 340 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.808e-05/0.02758, allocations: 49.28 kB / 340 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.02785, allocations: 221.5 kB / 340.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.02989, allocations: 1.969 MB / 342.2 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.03023, allocations: 293.7 kB / 342.5 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.03033, allocations: 112.1 kB / 342.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.03035, allocations: 8.656 kB / 342.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.03056, allocations: 258.9 kB / 342.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.343e-06/0.03056, allocations: 0 / 342.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001163/0.03173, allocations: 0.941 MB / 343.8 MB, free: 4.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.03177, allocations: 136.5 kB / 343.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.03198, allocations: 355.2 kB / 344.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.032, allocations: 41.73 kB / 344.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.03213, allocations: 301.4 kB / 344.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/0.03222, allocations: 170.5 kB / 344.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.03232, allocations: 106.2 kB / 344.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.03241, allocations: 366.7 kB / 345.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.03251, allocations: 97.81 kB / 345.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.03267, allocations: 259.4 kB / 345.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.03309, allocations: 0.5013 MB / 346.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.03309, allocations: 0 / 346.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006439/0.03374, allocations: 0.5395 MB / 346.6 MB, free: 1.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.03376, allocations: 33.7 kB / 346.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.03377, allocations: 8 kB / 346.7 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.03428, allocations: 257.9 kB / 346.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.03471, allocations: 143.8 kB / 347.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.03776, allocations: 3.541 MB / 350.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.03796, allocations: 19.94 kB / 350.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.03799, allocations: 20 kB / 350.6 MB, free: 13.31 MB / 330.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.0002157/0.03821, allocations: 182.2 kB / 350.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.03827, allocations: 51.89 kB / 350.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.03871, allocations: 385.9 kB / 351.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.03872, allocations: 8 kB / 351.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.03872, allocations: 0 / 351.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.03873, allocations: 3.984 kB / 351.3 MB, free: 12.64 MB / 330.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.001025/0.03975, allocations: 0.8286 MB / 352.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.03975, allocations: 0 / 352.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005986/0.04035, allocations: 163.9 kB / 352.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.04047, allocations: 64.12 kB / 352.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.04049, allocations: 11.98 kB / 352.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.04219, allocations: 3.549 MB / 355.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.0422, allocations: 4 kB / 355.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.04273, allocations: 0.638 MB / 356.5 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.04282, allocations: 71.64 kB / 356.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.04286, allocations: 12 kB / 356.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.04298, allocations: 11.98 kB / 356.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.04304, allocations: 27.95 kB / 356.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.04306, allocations: 19.92 kB / 356.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.04316, allocations: 148.7 kB / 356.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04316, allocations: 0 / 356.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.04358, allocations: 160 kB / 356.9 MB, free: 6.535 MB / 330.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 0.0001037/0.04369, allocations: 100.4 kB / 357 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.04447, allocations: 0.7652 MB / 357.8 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.04448, allocations: 8 kB / 357.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.04482, allocations: 0.5533 MB / 358.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.04519, allocations: 135.8 kB / 358.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.04693, allocations: 1.278 MB / 359.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.04707, allocations: 201.7 kB / 360 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.04724, allocations: 64.56 kB / 360 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.04743, allocations: 147.3 kB / 360.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.04743, allocations: 4 kB / 360.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of Templates: time 0.01105/0.05849, allocations: 8.182 MB / 368.4 MB, free: 11.06 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0877412147819996]