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.001048/0.001048, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001629/0.001629, allocations: 169.1 kB / 25.61 MB, free: 8.602 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.033/1.033, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1202/0.1202, allocations: 29.43 MB / 292 MB, free: 2.633 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 1.743e-06/1.743e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.491e-05, allocations: 5.125 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.004772/0.004797, allocations: 5.518 MB / 376.4 MB, free: 26.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.009597, allocations: 4.152 MB / 380.6 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.0101, allocations: 23.81 kB / 380.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006265/0.01636, allocations: 5.539 MB / 386.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000779/0.01714, allocations: 453.5 kB / 386.6 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.01763, allocations: 295.3 kB / 386.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.01913, allocations: 1.84 MB / 388.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.01984, allocations: 0.6378 MB / 389.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006918/0.02053, allocations: 0.6586 MB / 390 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.02102, allocations: 482.7 kB / 390.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.02109, allocations: 72 kB / 390.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.02132, allocations: 147.7 kB / 390.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.02151, allocations: 351.2 kB / 391 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.02171, allocations: 271.4 kB / 391.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.02238, allocations: 0.6502 MB / 391.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.02238, allocations: 0 / 391.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02238, allocations: 0 / 391.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.0224, allocations: 0 / 391.9 MB, free: 11.19 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.001145/0.02355, allocations: 1.075 MB / 393 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.02358, allocations: 8.031 kB / 393 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.02393, allocations: 156.4 kB / 393.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.02459, allocations: 0.55 MB / 393.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.02465, allocations: 87.31 kB / 393.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.02472, allocations: 59.98 kB / 393.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.02523, allocations: 0.543 MB / 394.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.02526, allocations: 7.953 kB / 394.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.0253, allocations: 23.98 kB / 394.4 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/0.02539, allocations: 53.27 kB / 394.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.02571, allocations: 238.6 kB / 394.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.02777, allocations: 2.587 MB / 397.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.02815, allocations: 271.4 kB / 397.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.02826, allocations: 125.7 kB / 397.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.02829, allocations: 8.656 kB / 397.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.02852, allocations: 267.5 kB / 398 MB, free: 4.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.02852, allocations: 0 / 398 MB, free: 4.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001359/0.02988, allocations: 0.9996 MB / 399 MB, free: 3.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.02992, allocations: 148.4 kB / 399.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.03014, allocations: 434.3 kB / 399.5 MB, free: 3.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.03017, allocations: 37.7 kB / 399.6 MB, free: 3.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.03032, allocations: 399.2 kB / 400 MB, free: 2.707 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/0.03041, allocations: 166.6 kB / 400.1 MB, free: 2.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.03053, allocations: 123.9 kB / 400.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.03062, allocations: 0.5507 MB / 400.8 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.444e-05/0.03072, allocations: 98.95 kB / 400.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.03087, allocations: 329.7 kB / 401.2 MB, free: 1.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.03127, allocations: 0.5528 MB / 401.8 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.03127, allocations: 4 kB / 401.8 MB, free: 0.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006866/0.03196, allocations: 0.636 MB / 402.4 MB, free: 0 / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.032, allocations: 37.83 kB / 402.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.03202, allocations: 7.938 kB / 402.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.0326, allocations: 269.6 kB / 402.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.03304, allocations: 131.8 kB / 402.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.03647, allocations: 4.658 MB / 407.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.03669, allocations: 16 kB / 407.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.03672, allocations: 19.98 kB / 407.5 MB, free: 10.63 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.0002415/0.03696, allocations: 231.8 kB / 407.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.03703, allocations: 71.66 kB / 407.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.03758, allocations: 452.4 kB / 408.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.03759, allocations: 8 kB / 408.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.03759, allocations: 0 / 408.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.0376, allocations: 3.984 kB / 408.3 MB, free: 9.832 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.001115/0.03871, allocations: 0.9731 MB / 409.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03872, allocations: 0 / 409.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.03927, allocations: 148 kB / 409.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.03941, allocations: 67.02 kB / 409.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.03944, allocations: 15.94 kB / 409.5 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.04156, allocations: 5.143 MB / 414.6 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.04157, allocations: 0 / 414.6 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.04227, allocations: 0.7192 MB / 415.4 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.04238, allocations: 87.56 kB / 415.4 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.04243, allocations: 16 kB / 415.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.04255, allocations: 11.98 kB / 415.5 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.04263, allocations: 35.88 kB / 415.5 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.04265, allocations: 16.03 kB / 415.5 MB, free: 2.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.04282, allocations: 263 kB / 415.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04282, allocations: 0 / 415.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.04333, allocations: 164 kB / 415.9 MB, free: 1.703 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.0001356/0.04346, allocations: 115.7 kB / 416 MB, free: 1.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009332/0.0444, allocations: 0.8959 MB / 416.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.0444, allocations: 4 kB / 416.9 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.04485, allocations: 0.7286 MB / 417.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.0453, allocations: 133.7 kB / 417.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.04737, allocations: 1.394 MB / 419.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.04755, allocations: 205.9 kB / 419.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.04773, allocations: 64.58 kB / 419.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.04793, allocations: 178.1 kB / 419.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.04793, allocations: 4 kB / 419.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of Templates: time 0.01357/0.0615, allocations: 8.332 MB / 428 MB, free: 5.598 MB / 346.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.381881607696414]