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.0009711/0.0009711, allocations: 79.58 kB / 21.18 MB, free: 3.383 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.0009767/0.0009767, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.629 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.2656/0.2656, allocations: 29.42 MB / 290.9 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.323e-06/1.323e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.685e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005256/0.005283, allocations: 5.497 MB / 375.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004991/0.01027, allocations: 4.278 MB / 379.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.01064, allocations: 27.75 kB / 379.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007159/0.0178, allocations: 5.368 MB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007506/0.01855, allocations: 445.6 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.01915, allocations: 295.3 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.02088, allocations: 1.836 MB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.02153, allocations: 0.6456 MB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.0221, allocations: 0.6391 MB / 388.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.02261, allocations: 490.7 kB / 389.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.813e-05/0.02268, allocations: 72 kB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.02291, allocations: 139.8 kB / 389.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.02315, allocations: 351.1 kB / 389.7 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.02339, allocations: 279.4 kB / 389.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.02409, allocations: 0.658 MB / 390.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.0241, allocations: 4 kB / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0241, allocations: 0 / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.02411, allocations: 0 / 390.6 MB, free: 5.957 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.001244/0.02535, allocations: 1.079 MB / 391.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.02539, allocations: 15.98 kB / 391.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.02576, allocations: 156.4 kB / 391.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.02649, allocations: 0.5773 MB / 392.4 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.02656, allocations: 75.33 kB / 392.5 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.02664, allocations: 67.94 kB / 392.6 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.02732, allocations: 0.5861 MB / 393.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.02734, allocations: 4 kB / 393.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.02737, allocations: 23.98 kB / 393.2 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.02746, allocations: 57.22 kB / 393.2 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.02787, allocations: 289.3 kB / 393.5 MB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.0301, allocations: 2.708 MB / 396.2 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.03057, allocations: 285 kB / 396.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.03073, allocations: 153.6 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.03076, allocations: 8.641 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.03103, allocations: 279.5 kB / 396.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.302e-06/0.03104, allocations: 0 / 396.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001662/0.0327, allocations: 1.26 MB / 398.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.03276, allocations: 140.5 kB / 398.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.03306, allocations: 438.6 kB / 398.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.03309, allocations: 37.7 kB / 398.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.03328, allocations: 403.1 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.03338, allocations: 166.6 kB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.0335, allocations: 116 kB / 399.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.03368, allocations: 0.5469 MB / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.03384, allocations: 127 kB / 400.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.03409, allocations: 353.7 kB / 400.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.0347, allocations: 0.6114 MB / 401.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.03471, allocations: 0 / 401.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009123/0.03562, allocations: 0.6947 MB / 401.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.03566, allocations: 33.7 kB / 401.8 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.03567, allocations: 4 kB / 401.8 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.0363, allocations: 273.8 kB / 402.1 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.03679, allocations: 171.7 kB / 402.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.04048, allocations: 4.801 MB / 407.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.04065, allocations: 27.92 kB / 407.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.04068, allocations: 27.98 kB / 407.1 MB, free: 4.469 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.0001997/0.04088, allocations: 218.2 kB / 407.3 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.04095, allocations: 67.67 kB / 407.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.04159, allocations: 496.4 kB / 407.9 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.04159, allocations: 8.031 kB / 407.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.0416, allocations: 0 / 407.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.04161, allocations: 11.92 kB / 407.9 MB, free: 3.637 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.001202/0.04281, allocations: 1.12 MB / 409 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.04281, allocations: 0 / 409 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.04344, allocations: 187.9 kB / 409.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.04357, allocations: 67.02 kB / 409.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.0436, allocations: 23.98 kB / 409.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.0458, allocations: 5.188 MB / 414.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04581, allocations: 4 kB / 414.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/0.04654, allocations: 0.7794 MB / 415.3 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.04665, allocations: 83.64 kB / 415.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.04669, allocations: 15.98 kB / 415.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.04681, allocations: 15.98 kB / 415.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.04688, allocations: 35.88 kB / 415.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.04691, allocations: 16 kB / 415.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.0471, allocations: 275.1 kB / 415.7 MB, free: 11.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0471, allocations: 0 / 415.7 MB, free: 11.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.04753, allocations: 168 kB / 415.9 MB, free: 11.15 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.0001228/0.04766, allocations: 111.2 kB / 416 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.04867, allocations: 0.9465 MB / 416.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.04867, allocations: 0.8125 kB / 416.9 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.04913, allocations: 0.752 MB / 417.7 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.0496, allocations: 117.9 kB / 417.8 MB, free: 9.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.05172, allocations: 1.407 MB / 419.2 MB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.05188, allocations: 202 kB / 419.4 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.05209, allocations: 96.52 kB / 419.5 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.05218, allocations: 40.48 kB / 419.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.05218, allocations: 0 / 419.5 MB, free: 7.273 MB / 394.7 MB Notification: Performance of Templates: time 0.01069/0.06287, allocations: 7.815 MB / 427.3 MB, free: 15.57 MB / 410.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.5922946641221642]