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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1769/0.1769, allocations: 38.55 MB / 346.3 MB, free: 2.109 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|power.p.2.|power.p.3.",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.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.86 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3965, allocations: 61.3 MB / 0.533 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008899/0.4054, allocations: 5.894 MB / 0.5388 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008202/0.4136, allocations: 4.489 MB / 0.5432 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.4142, allocations: 25.97 kB / 0.5432 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01401/0.4282, allocations: 5.523 MB / 0.5486 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.4298, allocations: 438.3 kB / 0.549 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.4309, allocations: 282.1 kB / 0.5493 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.4344, allocations: 1.809 MB / 0.551 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.4357, allocations: 0.5801 MB / 0.5516 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.4368, allocations: 489 kB / 0.5521 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.4381, allocations: 0.5476 MB / 0.5526 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002819/0.4384, allocations: 72 kB / 0.5527 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005978/0.439, allocations: 155.8 kB / 0.5528 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.4395, allocations: 331.1 kB / 0.5531 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008222/0.4403, allocations: 398.2 kB / 0.5535 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.4421, allocations: 1.035 MB / 0.5545 GB, free: 6.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4421, allocations: 0 / 0.5545 GB, free: 6.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4421, allocations: 0 / 0.5545 GB, free: 6.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.967e-05/0.4422, allocations: 4 kB / 0.5545 GB, free: 6.227 MB / 398.1 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.002888/0.4451, allocations: 0.9758 MB / 0.5555 GB, free: 5.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4451, allocations: 8.031 kB / 0.5555 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.4456, allocations: 104.4 kB / 0.5556 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.4469, allocations: 0.5553 MB / 0.5561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.447, allocations: 83 kB / 0.5562 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4471, allocations: 55.98 kB / 0.5563 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4485, allocations: 0.8138 MB / 0.5571 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.4486, allocations: 7.891 kB / 0.5571 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.4486, allocations: 27.98 kB / 0.5571 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.4488, allocations: 57.28 kB / 0.5572 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4498, allocations: 0.5828 MB / 0.5577 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/0.4542, allocations: 2.843 MB / 0.5605 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.455, allocations: 410 kB / 0.5609 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.4554, allocations: 206.3 kB / 0.5611 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.4554, allocations: 8.656 kB / 0.5611 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005588/0.456, allocations: 338.5 kB / 0.5614 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.456, allocations: 0 / 0.5614 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003339/0.4593, allocations: 1.689 MB / 0.5631 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.4594, allocations: 136.5 kB / 0.5632 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.46, allocations: 453.8 kB / 0.5636 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.46, allocations: 33.7 kB / 0.5637 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.4603, allocations: 332.7 kB / 0.564 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.4604, allocations: 170.6 kB / 0.5642 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.4606, allocations: 114.3 kB / 0.5643 GB, free: 11.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4608, allocations: 362.8 kB / 0.5646 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.4612, allocations: 233.2 kB / 0.5648 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.4617, allocations: 397.7 kB / 0.5652 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.4646, allocations: 1.256 MB / 0.5664 GB, free: 9.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.4646, allocations: 4 kB / 0.5664 GB, free: 9.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001898/0.4665, allocations: 0.9556 MB / 0.5674 GB, free: 8.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.4666, allocations: 41.62 kB / 0.5674 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4666, allocations: 4 kB / 0.5674 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009598/0.4676, allocations: 308.4 kB / 0.5677 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.4686, allocations: 175.7 kB / 0.5679 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/0.4757, allocations: 5.092 MB / 0.5729 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.4762, allocations: 19.98 kB / 0.5729 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.4763, allocations: 24 kB / 0.5729 GB, free: 2.656 MB / 414.1 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.0005223/0.4768, allocations: 303.6 kB / 0.5732 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/0.4769, allocations: 63.56 kB / 0.5732 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.4782, allocations: 0.6589 MB / 0.5739 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.4782, allocations: 11.94 kB / 0.5739 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4782, allocations: 4 kB / 0.5739 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.4782, allocations: 3.984 kB / 0.5739 GB, free: 1.578 MB / 414.1 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.002542/0.4807, allocations: 1.488 MB / 0.5754 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4807, allocations: 4 kB / 0.5754 GB, free: 0 / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.4821, allocations: 187.9 kB / 0.5755 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/0.4824, allocations: 74.52 kB / 0.5756 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.4824, allocations: 27.92 kB / 0.5756 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003276/0.4857, allocations: 3.951 MB / 0.5795 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4857, allocations: 0 / 0.5795 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.4873, allocations: 0.9695 MB / 0.5804 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.4875, allocations: 103.6 kB / 0.5805 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.4876, allocations: 19.98 kB / 0.5806 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.4879, allocations: 19.98 kB / 0.5806 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.488, allocations: 39.8 kB / 0.5806 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.488, allocations: 16 kB / 0.5806 GB, free: 10.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004323/0.4885, allocations: 319.1 kB / 0.5809 GB, free: 9.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4885, allocations: 0 / 0.5809 GB, free: 9.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007759/0.4892, allocations: 160 kB / 0.5811 GB, free: 9.738 MB / 430.1 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.0001665/0.4894, allocations: 115.2 kB / 0.5812 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.4914, allocations: 0.956 MB / 0.5821 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4914, allocations: 0 / 0.5821 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008822/0.4923, allocations: 0.6291 MB / 0.5827 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.493, allocations: 131.1 kB / 0.5829 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.4963, allocations: 1.676 MB / 0.5845 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.4971, allocations: 0.9761 MB / 0.5855 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.4975, allocations: 116.7 kB / 0.5856 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4976, allocations: 43.42 kB / 0.5856 GB, free: 4.938 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4976, allocations: 0 / 0.5856 GB, free: 4.938 MB / 430.1 MB Notification: Performance of Templates: time 0.01834/0.516, allocations: 9.004 MB / 0.5944 GB, free: 12 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.339141764678061]