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.001884/0.001884, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002166/0.002166, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3198/0.3198, allocations: 29.42 MB / 290.5 MB, free: 2.434 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.212e-06/1.212e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.586e-05, allocations: 5.266 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008767/0.008793, allocations: 5.808 MB / 374.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008176/0.01697, allocations: 4.275 MB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.01746, allocations: 23.81 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.02993, allocations: 5.539 MB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.03123, allocations: 461.4 kB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.032, allocations: 291.3 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.03484, allocations: 1.84 MB / 387.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009699/0.03581, allocations: 0.6495 MB / 387.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009699/0.03678, allocations: 0.6391 MB / 388.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.0376, allocations: 498.6 kB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.03774, allocations: 72 kB / 388.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.03809, allocations: 139.8 kB / 389.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.0385, allocations: 351.2 kB / 389.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.0389, allocations: 275.3 kB / 389.7 MB, free: 6.445 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.04056, allocations: 1.059 MB / 390.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.04056, allocations: 0 / 390.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.04057, allocations: 0 / 390.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.04058, allocations: 0 / 390.8 MB, free: 5.383 MB / 362.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.002313/0.04289, allocations: 1.146 MB / 391.9 MB, free: 4.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.04294, allocations: 15.98 kB / 391.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.0435, allocations: 152.4 kB / 392.1 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.04484, allocations: 0.5696 MB / 392.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.04495, allocations: 79.33 kB / 392.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.04507, allocations: 59.98 kB / 392.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.04634, allocations: 0.6792 MB / 393.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.04637, allocations: 7.953 kB / 393.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.04645, allocations: 27.97 kB / 393.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.04659, allocations: 53.28 kB / 393.5 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008317/0.04743, allocations: 382.5 kB / 393.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.05229, allocations: 2.981 MB / 396.9 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.05308, allocations: 323.9 kB / 397.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.05336, allocations: 157.7 kB / 397.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.0534, allocations: 16.59 kB / 397.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/0.05418, allocations: 315.5 kB / 397.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.464e-06/0.05418, allocations: 0 / 397.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.00315/0.05733, allocations: 1.346 MB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.05745, allocations: 136.5 kB / 399.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.05816, allocations: 0.5454 MB / 399.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.05821, allocations: 33.7 kB / 399.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.0586, allocations: 407.3 kB / 400.1 MB, free: 11.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.0588, allocations: 182.6 kB / 400.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.05904, allocations: 143.9 kB / 400.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000382/0.05942, allocations: 0.5742 MB / 401 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.05973, allocations: 147 kB / 401.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.06027, allocations: 397.7 kB / 401.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.06301, allocations: 1.007 MB / 402.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.06301, allocations: 0 / 402.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001732/0.06474, allocations: 0.7533 MB / 403.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.06479, allocations: 33.7 kB / 403.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.0648, allocations: 4 kB / 403.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.06591, allocations: 285.8 kB / 403.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.06699, allocations: 183.7 kB / 403.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.07435, allocations: 4.997 MB / 408.8 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.07474, allocations: 27.88 kB / 408.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.0748, allocations: 24 kB / 408.9 MB, free: 2.301 MB / 378.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.0004203/0.07522, allocations: 274.1 kB / 409.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.07533, allocations: 59.72 kB / 409.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.07651, allocations: 0.5277 MB / 409.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.07652, allocations: 4 kB / 409.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.07652, allocations: 0 / 409.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.07653, allocations: 3.984 kB / 409.7 MB, free: 1.387 MB / 378.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.002506/0.07904, allocations: 1.276 MB / 411 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.07904, allocations: 0 / 411 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.08051, allocations: 187.9 kB / 411.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.08078, allocations: 79.02 kB / 411.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.08083, allocations: 11.98 kB / 411.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/0.08552, allocations: 5.25 MB / 416.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.08553, allocations: 3.984 kB / 416.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.08704, allocations: 0.8654 MB / 417.4 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.08731, allocations: 83.67 kB / 417.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.08739, allocations: 19.95 kB / 417.5 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.08765, allocations: 11.98 kB / 417.5 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.08777, allocations: 43.86 kB / 417.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.08781, allocations: 12 kB / 417.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004364/0.08824, allocations: 331.1 kB / 417.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08824, allocations: 0 / 417.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007374/0.08898, allocations: 160 kB / 418 MB, free: 8.547 MB / 394.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.0001729/0.08915, allocations: 119.1 kB / 418.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.09138, allocations: 1.01 MB / 419.2 MB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.09138, allocations: 4.125 kB / 419.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.09239, allocations: 0.7714 MB / 420 MB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.09312, allocations: 132.1 kB / 420.1 MB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.09572, allocations: 1.416 MB / 421.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.09621, allocations: 369.8 kB / 421.9 MB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000309/0.09652, allocations: 96.5 kB / 422 MB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.09664, allocations: 44.48 kB / 422 MB, free: 4.383 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.09664, allocations: 0 / 422 MB, free: 4.383 MB / 394.7 MB Notification: Performance of Templates: time 0.01722/0.1139, allocations: 7.779 MB / 429.8 MB, free: 12.72 MB / 410.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: 5.3354275760939345]