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.0019/0.0019, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002153/0.002153, allocations: 186 kB / 22.21 MB, free: 112 kB / 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.449/1.449, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.2016/0.2016, allocations: 38.53 MB / 344.5 MB, free: 2.574 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.00194/0.00194, allocations: 64.12 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 61.25 MB / 0.5306 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007873/0.3445, allocations: 5.87 MB / 0.5363 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006849/0.3514, allocations: 4.481 MB / 0.5407 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.3519, allocations: 20.62 kB / 0.5407 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.3627, allocations: 5.072 MB / 0.5456 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.3645, allocations: 450.4 kB / 0.5461 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.3654, allocations: 274.9 kB / 0.5463 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003016/0.3684, allocations: 1.77 MB / 0.5481 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3696, allocations: 0.5832 MB / 0.5486 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.3705, allocations: 479.4 kB / 0.5491 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008469/0.3713, allocations: 0.5448 MB / 0.5496 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.3714, allocations: 73.44 kB / 0.5497 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.3718, allocations: 147.8 kB / 0.5498 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.3722, allocations: 335 kB / 0.5502 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.3727, allocations: 399.6 kB / 0.5505 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.374, allocations: 1.043 MB / 0.5516 GB, free: 7.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.374, allocations: 4 kB / 0.5516 GB, free: 7.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.374, allocations: 0 / 0.5516 GB, free: 7.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.374, allocations: 0 / 0.5516 GB, free: 7.25 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.002148/0.3762, allocations: 1.047 MB / 0.5526 GB, free: 6.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.3762, allocations: 11.89 kB / 0.5526 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004882/0.3767, allocations: 108.4 kB / 0.5527 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.378, allocations: 0.6275 MB / 0.5533 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.3781, allocations: 71.02 kB / 0.5534 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3782, allocations: 63.98 kB / 0.5534 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3795, allocations: 0.8099 MB / 0.5542 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.3796, allocations: 7.891 kB / 0.5542 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.3796, allocations: 24 kB / 0.5543 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.3798, allocations: 49.28 kB / 0.5543 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3808, allocations: 0.5906 MB / 0.5549 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.3853, allocations: 2.924 MB / 0.5577 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.3862, allocations: 409.9 kB / 0.5581 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.3865, allocations: 210.3 kB / 0.5583 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.3866, allocations: 8.594 kB / 0.5583 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/0.3871, allocations: 346.5 kB / 0.5587 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.595e-06/0.3871, allocations: 0 / 0.5587 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00378/0.3909, allocations: 2.053 MB / 0.5607 GB, free: 13.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.391, allocations: 136.5 kB / 0.5608 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.3916, allocations: 457.8 kB / 0.5612 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.3916, allocations: 37.7 kB / 0.5613 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.392, allocations: 332.7 kB / 0.5616 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.3921, allocations: 166.6 kB / 0.5618 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.3923, allocations: 114.3 kB / 0.5619 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.3926, allocations: 358.8 kB / 0.5622 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.393, allocations: 237.2 kB / 0.5624 GB, free: 11.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.3935, allocations: 393.7 kB / 0.5628 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.3964, allocations: 1.331 MB / 0.5641 GB, free: 9.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3965, allocations: 4 kB / 0.5641 GB, free: 9.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001891/0.3983, allocations: 0.9594 MB / 0.565 GB, free: 8.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.3984, allocations: 37.64 kB / 0.5651 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3984, allocations: 4 kB / 0.5651 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009176/0.3993, allocations: 308.7 kB / 0.5654 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.4002, allocations: 175.7 kB / 0.5655 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/0.4071, allocations: 5.299 MB / 0.5707 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.4075, allocations: 23.98 kB / 0.5707 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.4076, allocations: 27.98 kB / 0.5708 GB, free: 2.59 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.0005079/0.4081, allocations: 291.3 kB / 0.5711 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.4082, allocations: 63.55 kB / 0.5711 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.4096, allocations: 0.8095 MB / 0.5719 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4096, allocations: 8.031 kB / 0.5719 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4096, allocations: 4 kB / 0.5719 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4096, allocations: 7.969 kB / 0.5719 GB, free: 1.34 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.002616/0.4122, allocations: 1.675 MB / 0.5736 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4122, allocations: 4.094 kB / 0.5736 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.4134, allocations: 183.8 kB / 0.5737 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.4137, allocations: 82.52 kB / 0.5738 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.4137, allocations: 19.94 kB / 0.5738 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.4171, allocations: 4.249 MB / 0.578 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4171, allocations: 8.094 kB / 0.578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.4188, allocations: 1.12 MB / 0.5791 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.4191, allocations: 172.7 kB / 0.5792 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.4192, allocations: 16 kB / 0.5793 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.4195, allocations: 19.97 kB / 0.5793 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4196, allocations: 27.97 kB / 0.5793 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4196, allocations: 15.98 kB / 0.5793 GB, free: 9.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004267/0.42, allocations: 327 kB / 0.5796 GB, free: 8.773 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.42, allocations: 0 / 0.5796 GB, free: 8.773 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007887/0.4208, allocations: 164 kB / 0.5798 GB, free: 8.613 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.000206/0.421, allocations: 122.2 kB / 0.5799 GB, free: 8.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.4229, allocations: 0.9525 MB / 0.5808 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4229, allocations: 4 kB / 0.5808 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008521/0.4238, allocations: 0.6177 MB / 0.5814 GB, free: 6.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.4245, allocations: 128.9 kB / 0.5816 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.4275, allocations: 1.686 MB / 0.5832 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.4282, allocations: 0.9839 MB / 0.5842 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.4285, allocations: 116.7 kB / 0.5843 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.4286, allocations: 39.44 kB / 0.5843 GB, free: 3.805 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4286, allocations: 0 / 0.5843 GB, free: 3.805 MB / 430.1 MB Notification: Performance of Templates: time 0.01689/0.4455, allocations: 8.83 MB / 0.593 GB, free: 11.05 MB / 446.1 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=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.337865533307195]