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.001103/0.001103, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.002726, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001141/0.001141, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002628, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9089/0.9089, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08287/0.9917, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1452/0.1452, allocations: 29.44 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.132/0.2772, allocations: 9.527 MB / 283 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.334e-06/2.334e-06, allocations: 1.156 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.266e-05, allocations: 3.625 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005345/0.005358, allocations: 5.639 MB / 289.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.009925, allocations: 4.248 MB / 294.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.01016, allocations: 24.09 kB / 294.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005606/0.01576, allocations: 5.11 MB / 299.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.01633, allocations: 465.4 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.01671, allocations: 295.4 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.01814, allocations: 1.786 MB / 301.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.01864, allocations: 0.636 MB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006862/0.01933, allocations: 0.6937 MB / 303.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.01974, allocations: 478.7 kB / 303.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.0198, allocations: 72 kB / 303.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.01999, allocations: 139.7 kB / 303.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.0202, allocations: 319.2 kB / 304.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.02039, allocations: 227.6 kB / 304.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.02093, allocations: 0.6113 MB / 304.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.02094, allocations: 3.938 kB / 304.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.02094, allocations: 4 kB / 304.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.02096, allocations: 4 kB / 305 MB, free: 10.05 MB / 298.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.001138/0.0221, allocations: 1.08 MB / 306 MB, free: 8.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.02214, allocations: 12.03 kB / 306 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.02245, allocations: 201.9 kB / 306.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.02325, allocations: 480.5 kB / 306.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.02331, allocations: 91.3 kB / 306.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.02338, allocations: 63.89 kB / 306.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.02387, allocations: 0.5338 MB / 307.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.02389, allocations: 3.984 kB / 307.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.02393, allocations: 24 kB / 307.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.745e-05/0.02399, allocations: 53.28 kB / 307.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.02426, allocations: 221.5 kB / 307.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.02595, allocations: 1.973 MB / 309.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.02629, allocations: 290.4 kB / 309.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.02639, allocations: 108 kB / 310.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.02641, allocations: 8.656 kB / 310.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.02661, allocations: 254.8 kB / 310.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.323e-06/0.02661, allocations: 4 kB / 310.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001162/0.02778, allocations: 0.938 MB / 311.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.02782, allocations: 136.5 kB / 311.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.02802, allocations: 363.1 kB / 311.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.02805, allocations: 33.7 kB / 311.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.02817, allocations: 301.5 kB / 312.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/0.02826, allocations: 166.5 kB / 312.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.02836, allocations: 110.2 kB / 312.3 MB, free: 2.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.02845, allocations: 362.7 kB / 312.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.02854, allocations: 101.8 kB / 312.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.0287, allocations: 263.5 kB / 313 MB, free: 1.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.02938, allocations: 0.4896 MB / 313.5 MB, free: 0.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.02938, allocations: 4 kB / 313.5 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000595/0.02997, allocations: 0.5318 MB / 314.1 MB, free: 316 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.03001, allocations: 37.7 kB / 314.1 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.03002, allocations: 4 kB / 314.1 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.03052, allocations: 261 kB / 314.4 MB, free: 0 / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.03094, allocations: 147.8 kB / 314.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.03348, allocations: 3.551 MB / 318.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.03361, allocations: 20 kB / 318.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.03363, allocations: 20 kB / 318.1 MB, free: 12.09 MB / 314.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.0001416/0.03377, allocations: 183 kB / 318.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.03382, allocations: 43.95 kB / 318.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.03421, allocations: 389.7 kB / 318.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.03421, allocations: 4 kB / 318.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.03422, allocations: 4 kB / 318.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.03422, allocations: 0 / 318.7 MB, free: 11.43 MB / 314.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.0008045/0.03503, allocations: 0.8366 MB / 319.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.03503, allocations: 0 / 319.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.03559, allocations: 167.9 kB / 319.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.03567, allocations: 67.66 kB / 319.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.03578, allocations: 64.19 kB / 319.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.0358, allocations: 15.92 kB / 319.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.03761, allocations: 3.56 MB / 323.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.03761, allocations: 0 / 323.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.03816, allocations: 0.6254 MB / 324 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.0382, allocations: 15.95 kB / 324.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.03831, allocations: 16.05 kB / 324.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.03837, allocations: 31.89 kB / 324.1 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.03839, allocations: 15.98 kB / 324.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.03849, allocations: 144.7 kB / 324.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03849, allocations: 0 / 324.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.03886, allocations: 160 kB / 324.4 MB, free: 5.312 MB / 314.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.0001208/0.03898, allocations: 106.9 kB / 324.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.03973, allocations: 0.762 MB / 325.3 MB, free: 4.387 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.03975, allocations: 8 kB / 325.3 MB, free: 4.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.04007, allocations: 0.5533 MB / 325.8 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.04042, allocations: 168.8 kB / 326 MB, free: 3.602 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0088/0.04922, allocations: 1.29 MB / 327.3 MB, free: 2.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.0496, allocations: 205.6 kB / 327.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.04975, allocations: 64.64 kB / 327.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.04994, allocations: 143.3 kB / 327.7 MB, free: 1.836 MB / 314.7 MB Notification: Performance of SimCode: time 1.011e-06/0.04994, allocations: 4 kB / 327.7 MB, free: 1.832 MB / 314.7 MB Notification: Performance of Templates: time 0.01052/0.06046, allocations: 8.296 MB / 336 MB, free: 9.684 MB / 330.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 -ignoreHideResult -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.01947320997715]