Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009681/0.0009681, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.0009719/0.0009719, allocations: 172.2 kB / 24.82 MB, free: 9.324 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2649/0.2649, allocations: 29.44 MB / 291.2 MB, free: 2.469 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm_Y_D.motor.slip|frictTorq.flange.tau|frictTorq.w|loadInertia.flange_a.tau|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.333e-05, allocations: 5.266 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.006675/0.006698, allocations: 5.51 MB / 375.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00579/0.01249, allocations: 4.141 MB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.01288, allocations: 23.81 kB / 379.8 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007237/0.02012, allocations: 5.548 MB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008203/0.02094, allocations: 453.5 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.02151, allocations: 287.4 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.02303, allocations: 1.832 MB / 387.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.02365, allocations: 0.6495 MB / 388.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.02428, allocations: 0.6586 MB / 389.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.02477, allocations: 486.7 kB / 389.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.307e-05/0.02486, allocations: 72 kB / 389.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.02508, allocations: 135.8 kB / 389.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.02541, allocations: 355.1 kB / 390.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.02566, allocations: 271.4 kB / 390.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.02637, allocations: 0.6541 MB / 391.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.02637, allocations: 0 / 391.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02637, allocations: 0 / 391.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.02638, allocations: 4 kB / 391.2 MB, free: 5.609 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.001333/0.02771, allocations: 1.075 MB / 392.2 MB, free: 4.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.02776, allocations: 11.98 kB / 392.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004163/0.02818, allocations: 156.4 kB / 392.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.02887, allocations: 0.55 MB / 392.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.02895, allocations: 87.3 kB / 393 MB, free: 3.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.02904, allocations: 67.92 kB / 393.1 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.02961, allocations: 0.543 MB / 393.6 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.02963, allocations: 7.953 kB / 393.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.02967, allocations: 23.98 kB / 393.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/0.02975, allocations: 49.28 kB / 393.7 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.03004, allocations: 234.6 kB / 393.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.03242, allocations: 2.58 MB / 396.5 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.03285, allocations: 268.9 kB / 396.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.03298, allocations: 121.7 kB / 396.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.03301, allocations: 12.64 kB / 396.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.03329, allocations: 263.5 kB / 397.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.0333, allocations: 0 / 397.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001534/0.03483, allocations: 1.008 MB / 398.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/0.03492, allocations: 148.4 kB / 398.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.03523, allocations: 438.3 kB / 398.8 MB, free: 13.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.03526, allocations: 37.7 kB / 398.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.03549, allocations: 395.2 kB / 399.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.0356, allocations: 170.6 kB / 399.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.03572, allocations: 123.9 kB / 399.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.03593, allocations: 0.5468 MB / 400 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.03604, allocations: 98.95 kB / 400.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.03627, allocations: 329.7 kB / 400.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.03681, allocations: 0.5567 MB / 401 MB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.03682, allocations: 0 / 401 MB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008431/0.03766, allocations: 0.636 MB / 401.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.0377, allocations: 33.7 kB / 401.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.03771, allocations: 11.92 kB / 401.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.03832, allocations: 278.4 kB / 401.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.03872, allocations: 127.9 kB / 402.1 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.04234, allocations: 4.661 MB / 406.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.04249, allocations: 20 kB / 406.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.04251, allocations: 19.98 kB / 406.8 MB, free: 5.051 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.0001845/0.0427, allocations: 230 kB / 407 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.04276, allocations: 63.67 kB / 407.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.04327, allocations: 452.4 kB / 407.5 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.04327, allocations: 8 kB / 407.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.04327, allocations: 0 / 407.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.04328, allocations: 3.984 kB / 407.5 MB, free: 4.262 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.001428/0.04471, allocations: 0.9835 MB / 408.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.04471, allocations: 0 / 408.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.04524, allocations: 148 kB / 408.6 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.04537, allocations: 67.02 kB / 408.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.0454, allocations: 15.94 kB / 408.7 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.04744, allocations: 5.135 MB / 413.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.04744, allocations: 8.25 kB / 413.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.04809, allocations: 0.7206 MB / 414.6 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.04819, allocations: 87.56 kB / 414.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.04822, allocations: 12 kB / 414.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.04834, allocations: 11.98 kB / 414.7 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.04841, allocations: 39.86 kB / 414.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.04843, allocations: 16 kB / 414.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005802/0.04901, allocations: 267 kB / 415 MB, free: 12.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04901, allocations: 0 / 415 MB, free: 12.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004309/0.04944, allocations: 160 kB / 415.2 MB, free: 12.11 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.000158/0.0496, allocations: 111.2 kB / 415.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000933/0.05053, allocations: 0.904 MB / 416.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.05053, allocations: 0 / 416.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.05096, allocations: 0.7286 MB / 416.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.05138, allocations: 118.6 kB / 417 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.05332, allocations: 1.389 MB / 418.4 MB, free: 8.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.05347, allocations: 205.9 kB / 418.6 MB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.05363, allocations: 68.56 kB / 418.7 MB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.05384, allocations: 170.1 kB / 418.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.05384, allocations: 0 / 418.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of Templates: time 0.01147/0.06531, allocations: 8.201 MB / 427 MB, free: 128 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.502631717827171]