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.001067/0.001067, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001135/0.001135, allocations: 167 kB / 24.82 MB, free: 9.238 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 0.9581/0.9581, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2845/0.2845, allocations: 29.41 MB / 291.2 MB, free: 2.453 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.473e-06/1.473e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.45e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.004736/0.00475, allocations: 5.434 MB / 375.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.009251, allocations: 4.233 MB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.009549, allocations: 23.81 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007085/0.01663, allocations: 5.4 MB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009367/0.01757, allocations: 457.5 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.01818, allocations: 291.3 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.02007, allocations: 1.847 MB / 387.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007303/0.0208, allocations: 0.634 MB / 388.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007784/0.02158, allocations: 0.6626 MB / 389.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.0222, allocations: 486.7 kB / 389.5 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.02234, allocations: 72 kB / 389.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.0227, allocations: 139.8 kB / 389.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.02299, allocations: 347.1 kB / 390.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.02324, allocations: 275.4 kB / 390.3 MB, free: 6.418 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.02403, allocations: 0.658 MB / 391 MB, free: 5.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02404, allocations: 4 kB / 391 MB, free: 5.754 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02404, allocations: 0 / 391 MB, free: 5.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.02406, allocations: 0 / 391 MB, free: 5.754 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.001288/0.02535, allocations: 1.071 MB / 392.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.02539, allocations: 19.97 kB / 392.1 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.02573, allocations: 144.5 kB / 392.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.02643, allocations: 0.5577 MB / 392.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.0265, allocations: 83.3 kB / 392.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.02659, allocations: 63.98 kB / 392.9 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.02715, allocations: 0.543 MB / 393.5 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.02717, allocations: 7.953 kB / 393.5 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.02721, allocations: 27.98 kB / 393.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/0.02729, allocations: 53.28 kB / 393.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.02758, allocations: 238.5 kB / 393.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.02981, allocations: 2.568 MB / 396.4 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.03018, allocations: 276.7 kB / 396.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.03029, allocations: 121.8 kB / 396.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.03031, allocations: 8.656 kB / 396.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.03053, allocations: 267.4 kB / 397 MB, free: 15.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.03053, allocations: 0 / 397 MB, free: 15.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001308/0.03184, allocations: 1.015 MB / 398.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.0319, allocations: 144.4 kB / 398.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.03215, allocations: 446.3 kB / 398.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.03217, allocations: 29.7 kB / 398.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.03235, allocations: 403.1 kB / 399.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.03244, allocations: 174.6 kB / 399.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.03255, allocations: 111.9 kB / 399.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.03271, allocations: 0.5546 MB / 399.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.03281, allocations: 102.9 kB / 400 MB, free: 12.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.03299, allocations: 325.8 kB / 400.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.03346, allocations: 0.5567 MB / 400.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.03347, allocations: 4 kB / 400.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007604/0.03423, allocations: 0.636 MB / 401.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.03426, allocations: 33.7 kB / 401.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.03427, allocations: 4 kB / 401.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.03483, allocations: 263.2 kB / 401.8 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.03521, allocations: 127.8 kB / 401.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.03841, allocations: 4.671 MB / 406.6 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.03862, allocations: 19.94 kB / 406.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.03865, allocations: 24 kB / 406.6 MB, free: 5.191 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.0002218/0.03887, allocations: 222.1 kB / 406.8 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.03894, allocations: 67.67 kB / 406.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.03943, allocations: 456.4 kB / 407.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.03944, allocations: 4 kB / 407.4 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.03944, allocations: 0 / 407.4 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.03945, allocations: 7.984 kB / 407.4 MB, free: 4.402 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.001247/0.0407, allocations: 0.9757 MB / 408.3 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.0407, allocations: 4 kB / 408.4 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.04123, allocations: 144 kB / 408.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.04137, allocations: 63.03 kB / 408.6 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.04141, allocations: 19.92 kB / 408.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.04383, allocations: 5.135 MB / 413.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.04383, allocations: 0 / 413.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.04495, allocations: 0.7325 MB / 414.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.04513, allocations: 83.62 kB / 414.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.04519, allocations: 12 kB / 414.5 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.04538, allocations: 12 kB / 414.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.04548, allocations: 35.88 kB / 414.6 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.04551, allocations: 19.92 kB / 414.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.04574, allocations: 263 kB / 414.9 MB, free: 12.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04574, allocations: 0 / 414.9 MB, free: 12.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008146/0.04655, allocations: 164 kB / 415 MB, free: 12.26 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.0001662/0.04672, allocations: 118.3 kB / 415.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.04773, allocations: 0.9003 MB / 416 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.04773, allocations: 4 kB / 416 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.04813, allocations: 0.7326 MB / 416.8 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.04855, allocations: 113.2 kB / 416.9 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.05051, allocations: 1.396 MB / 418.3 MB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.05067, allocations: 197.9 kB / 418.5 MB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.05084, allocations: 64.56 kB / 418.5 MB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.05104, allocations: 174.1 kB / 418.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05104, allocations: 0 / 418.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of Templates: time 0.01117/0.06221, allocations: 8.19 MB / 426.9 MB, free: 284 kB / 394.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: 3.1519985259510577]