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.001442/0.001442, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001673/0.001673, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2448/0.2448, allocations: 29.42 MB / 291.2 MB, free: 2.477 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.393e-06/1.393e-06, allocations: 0 / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.846e-05, allocations: 2.312 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005122/0.005141, allocations: 5.547 MB / 322.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.01047, allocations: 4.224 MB / 326.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.011, allocations: 23.81 kB / 326.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007359/0.01836, allocations: 5.434 MB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008077/0.01917, allocations: 445.5 kB / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.01969, allocations: 299.4 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.02106, allocations: 1.824 MB / 334.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000537/0.0216, allocations: 0.6554 MB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.02211, allocations: 0.6664 MB / 336 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.02251, allocations: 458.7 kB / 336.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.02258, allocations: 72 kB / 336.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.02275, allocations: 135.8 kB / 336.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.02297, allocations: 347.2 kB / 336.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.02318, allocations: 275.4 kB / 337.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.02376, allocations: 0.6463 MB / 337.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.02376, allocations: 0 / 337.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.02376, allocations: 3.984 kB / 337.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.02377, allocations: 4 kB / 337.9 MB, free: 10.91 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.001237/0.02501, allocations: 0.9349 MB / 338.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.02504, allocations: 11.98 kB / 338.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.02533, allocations: 128.8 kB / 338.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.0259, allocations: 484.5 kB / 339.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.02596, allocations: 75.33 kB / 339.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.02603, allocations: 67.94 kB / 339.5 MB, free: 9.152 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.02653, allocations: 0.5298 MB / 340.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.02654, allocations: 0 / 340.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.02658, allocations: 24 kB / 340.1 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.02666, allocations: 61.22 kB / 340.2 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.02691, allocations: 221.5 kB / 340.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.02864, allocations: 1.962 MB / 342.3 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.029, allocations: 297.6 kB / 342.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.0291, allocations: 112 kB / 342.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.02912, allocations: 8.656 kB / 342.7 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.02933, allocations: 259 kB / 343 MB, free: 5.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.353e-06/0.02933, allocations: 0 / 343 MB, free: 5.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001281/0.03062, allocations: 0.9449 MB / 343.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.03068, allocations: 140.5 kB / 344.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.0309, allocations: 359.1 kB / 344.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.03093, allocations: 33.7 kB / 344.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.03106, allocations: 301.5 kB / 344.8 MB, free: 3.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.03115, allocations: 166.6 kB / 344.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/0.03152, allocations: 118.2 kB / 345 MB, free: 3.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.03162, allocations: 362.7 kB / 345.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.03171, allocations: 93.81 kB / 345.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.03188, allocations: 255.4 kB / 345.7 MB, free: 2.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.03229, allocations: 0.5013 MB / 346.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.03229, allocations: 8 kB / 346.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000626/0.03291, allocations: 0.528 MB / 346.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.03295, allocations: 33.7 kB / 346.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03296, allocations: 4 kB / 346.8 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/0.03353, allocations: 268.4 kB / 347.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.03392, allocations: 127.9 kB / 347.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.03672, allocations: 3.536 MB / 350.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.03685, allocations: 16 kB / 350.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.03688, allocations: 20 kB / 350.8 MB, free: 13.21 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.0001614/0.03704, allocations: 186.1 kB / 350.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.03709, allocations: 51.95 kB / 351 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.03749, allocations: 381.9 kB / 351.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.03749, allocations: 4 kB / 351.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.0375, allocations: 4 kB / 351.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.0375, allocations: 7.922 kB / 351.4 MB, free: 12.54 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.001183/0.03869, allocations: 0.8209 MB / 352.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.03869, allocations: 0 / 352.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.03918, allocations: 151.9 kB / 352.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.0393, allocations: 60.14 kB / 352.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.03933, allocations: 15.98 kB / 352.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.04089, allocations: 3.545 MB / 356 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.04089, allocations: 4 kB / 356 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.04141, allocations: 0.634 MB / 356.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.0415, allocations: 71.64 kB / 356.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.04154, allocations: 12 kB / 356.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.04165, allocations: 12 kB / 356.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.04171, allocations: 31.94 kB / 356.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.04173, allocations: 11.98 kB / 356.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.04184, allocations: 148.7 kB / 356.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04184, allocations: 0 / 356.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.04221, allocations: 160 kB / 357.1 MB, free: 6.465 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.0001316/0.04234, allocations: 96.42 kB / 357.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.04319, allocations: 0.7632 MB / 357.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.04321, allocations: 12.06 kB / 357.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.04355, allocations: 0.5482 MB / 358.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.04392, allocations: 143.2 kB / 358.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.04586, allocations: 1.28 MB / 359.9 MB, free: 3.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.04599, allocations: 197.7 kB / 360.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.04613, allocations: 60.58 kB / 360.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.04631, allocations: 151.3 kB / 360.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.04631, allocations: 0 / 360.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of Templates: time 0.0101/0.05641, allocations: 8.198 MB / 368.5 MB, free: 10.97 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.301526884082705]