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.001712/0.001712, allocations: 92.16 kB / 20.95 MB, free: 476 kB / 14.72 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.002407/0.002407, allocations: 161.3 kB / 24.25 MB, free: 3.504 MB / 14.72 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.493/1.493, allocations: 177.1 MB / 204.6 MB, free: 9.043 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.1802/0.1802, allocations: 29.43 MB / 290.5 MB, free: 3.09 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.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 2.074e-06/2.074e-06, allocations: 0 / 368.9 MB, free: 120 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.374e-05, allocations: 2.312 kB / 368.9 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.01131/0.01134, allocations: 5.512 MB / 374.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.02343, allocations: 4.092 MB / 378.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.02396, allocations: 27.75 kB / 378.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01934/0.04331, allocations: 5.535 MB / 384 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.04548, allocations: 453.5 kB / 384.5 MB, free: 452 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.04678, allocations: 287.4 kB / 384.8 MB, free: 164 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005299/0.05208, allocations: 1.851 MB / 386.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.0535, allocations: 0.6301 MB / 387.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.05497, allocations: 0.6391 MB / 387.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.05619, allocations: 474.7 kB / 388.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.05636, allocations: 76 kB / 388.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.05687, allocations: 147.8 kB / 388.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005891/0.05745, allocations: 351.1 kB / 388.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.05797, allocations: 267.4 kB / 389.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.06, allocations: 1.048 MB / 390.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.06001, allocations: 8 kB / 390.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.06001, allocations: 0 / 390.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.06003, allocations: 0 / 390.2 MB, free: 10.68 MB / 318.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.00313/0.06316, allocations: 0.9602 MB / 391.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.06321, allocations: 12.03 kB / 391.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/0.06413, allocations: 156.4 kB / 391.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.06623, allocations: 0.5863 MB / 391.9 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.06638, allocations: 83.31 kB / 392 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.06658, allocations: 63.98 kB / 392.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.06904, allocations: 0.8389 MB / 392.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.06909, allocations: 7.891 kB / 392.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.0692, allocations: 27.98 kB / 392.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/0.06945, allocations: 49.28 kB / 393 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.07147, allocations: 0.6118 MB / 393.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007458/0.07892, allocations: 2.599 MB / 396.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.08049, allocations: 439.8 kB / 396.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.08117, allocations: 244 kB / 396.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.08124, allocations: 8.656 kB / 396.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/0.0822, allocations: 372.2 kB / 397.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 3.887e-06/0.0822, allocations: 0 / 397.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.005223/0.08743, allocations: 1.739 MB / 399 MB, free: 1.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.08753, allocations: 140.5 kB / 399.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.08804, allocations: 425.7 kB / 399.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.08808, allocations: 29.7 kB / 399.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.08837, allocations: 348.6 kB / 399.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.08854, allocations: 162.6 kB / 400.1 MB, free: 440 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.08873, allocations: 114.2 kB / 400.2 MB, free: 320 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.08894, allocations: 362.7 kB / 400.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.08935, allocations: 270.8 kB / 400.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.0899, allocations: 419.5 kB / 401.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/0.09283, allocations: 1.258 MB / 402.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.09284, allocations: 0 / 402.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002068/0.0949, allocations: 1.009 MB / 403.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.09495, allocations: 37.8 kB / 403.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.09496, allocations: 4 kB / 403.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/0.09592, allocations: 303 kB / 403.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009822/0.0969, allocations: 175.7 kB / 404 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.1043, allocations: 5.016 MB / 409 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.1047, allocations: 23.98 kB / 409 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.1047, allocations: 24 kB / 409 MB, free: 7.043 MB / 334.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.0004774/0.1052, allocations: 303.4 kB / 409.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1053, allocations: 67.66 kB / 409.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1067, allocations: 0.6912 MB / 410.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1067, allocations: 4 kB / 410.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1067, allocations: 3.938 kB / 410.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1067, allocations: 0 / 410.1 MB, free: 5.938 MB / 334.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.002474/0.1092, allocations: 1.33 MB / 411.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1092, allocations: 0 / 411.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.1105, allocations: 195.9 kB / 411.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.1107, allocations: 70.53 kB / 411.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.1108, allocations: 19.98 kB / 411.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.1148, allocations: 3.886 MB / 415.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1148, allocations: 0 / 415.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.1167, allocations: 1.044 MB / 416.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.117, allocations: 91.62 kB / 416.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.1171, allocations: 19.98 kB / 416.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.1173, allocations: 15.98 kB / 416.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.1174, allocations: 35.98 kB / 416.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.1175, allocations: 15.98 kB / 416.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.1179, allocations: 291.1 kB / 417.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1179, allocations: 0 / 417.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008004/0.1187, allocations: 160 kB / 417.3 MB, free: 14.34 MB / 350.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.0001712/0.1188, allocations: 115.1 kB / 417.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.121, allocations: 1.021 MB / 418.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.121, allocations: 0 / 418.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.1219, allocations: 0.6541 MB / 419 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007531/0.1227, allocations: 117.1 kB / 419.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1254, allocations: 1.544 MB / 420.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.1259, allocations: 381.8 kB / 421.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.1263, allocations: 120.5 kB / 421.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1264, allocations: 40.48 kB / 421.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1264, allocations: 0 / 421.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01619/0.1426, allocations: 7.715 MB / 429 MB, free: 2.598 MB / 350.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: 4.830347944051027]