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.001296/0.001296, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001543/0.001543, allocations: 211.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1863/0.1863, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 179] 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 74.39 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4107, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008668/0.4193, allocations: 5.512 MB / 0.5478 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009197/0.4285, allocations: 4.084 MB / 0.5518 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.4292, allocations: 28.91 kB / 0.5518 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01346/0.4427, allocations: 5.432 MB / 0.5571 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.4451, allocations: 442 kB / 0.5576 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4461, allocations: 283.5 kB / 0.5578 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.4503, allocations: 1.797 MB / 0.5596 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.4516, allocations: 0.6181 MB / 0.5602 GB, free: 2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4528, allocations: 498.4 kB / 0.5607 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.4541, allocations: 0.5098 MB / 0.5612 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.4543, allocations: 76 kB / 0.5612 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.455, allocations: 147.8 kB / 0.5614 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.4555, allocations: 327.2 kB / 0.5617 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.4564, allocations: 326.5 kB / 0.562 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.4585, allocations: 1.039 MB / 0.563 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.4585, allocations: 0 / 0.563 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4585, allocations: 4 kB / 0.563 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.352e-05/0.4586, allocations: 0 / 0.563 GB, free: 15.09 MB / 414.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.003162/0.4617, allocations: 0.9719 MB / 0.564 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4618, allocations: 11.98 kB / 0.564 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006257/0.4624, allocations: 112.4 kB / 0.5641 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.4641, allocations: 0.5593 MB / 0.5646 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.4642, allocations: 75.02 kB / 0.5647 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.4644, allocations: 63.95 kB / 0.5648 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.466, allocations: 0.835 MB / 0.5656 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/0.4661, allocations: 11.94 kB / 0.5656 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.4661, allocations: 24 kB / 0.5656 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.4663, allocations: 49.28 kB / 0.5657 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.4675, allocations: 0.6157 MB / 0.5663 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.4726, allocations: 2.594 MB / 0.5688 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.4736, allocations: 430.7 kB / 0.5692 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.4739, allocations: 236 kB / 0.5694 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.474, allocations: 8.656 kB / 0.5694 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006096/0.4746, allocations: 376 kB / 0.5698 GB, free: 7.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.595e-06/0.4746, allocations: 4 kB / 0.5698 GB, free: 7.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003926/0.4785, allocations: 1.731 MB / 0.5715 GB, free: 6.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4786, allocations: 144.5 kB / 0.5716 GB, free: 5.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.4793, allocations: 417.8 kB / 0.572 GB, free: 5.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.4794, allocations: 33.7 kB / 0.5721 GB, free: 5.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.4799, allocations: 348.5 kB / 0.5724 GB, free: 5.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.4801, allocations: 166.6 kB / 0.5725 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.4804, allocations: 114.3 kB / 0.5727 GB, free: 4.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003007/0.4807, allocations: 358.8 kB / 0.573 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.4813, allocations: 254.9 kB / 0.5732 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007569/0.4821, allocations: 431.3 kB / 0.5737 GB, free: 3.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.4855, allocations: 1.252 MB / 0.5749 GB, free: 2.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.4855, allocations: 4 kB / 0.5749 GB, free: 2.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002331/0.4879, allocations: 0.9805 MB / 0.5758 GB, free: 1.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.4879, allocations: 33.7 kB / 0.5759 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.488, allocations: 8 kB / 0.5759 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/0.4889, allocations: 309.7 kB / 0.5762 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.49, allocations: 183.7 kB / 0.5763 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008148/0.4981, allocations: 4.98 MB / 0.5812 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/0.4987, allocations: 27.97 kB / 0.5812 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.4988, allocations: 28 kB / 0.5813 GB, free: 11.59 MB / 430.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.0006316/0.4994, allocations: 301 kB / 0.5816 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4995, allocations: 51.67 kB / 0.5816 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.501, allocations: 0.6836 MB / 0.5823 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.501, allocations: 4 kB / 0.5823 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.501, allocations: 0 / 0.5823 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.501, allocations: 3.984 kB / 0.5823 GB, free: 10.51 MB / 430.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.002641/0.5036, allocations: 1.328 MB / 0.5836 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5036, allocations: 4 kB / 0.5836 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5049, allocations: 191.9 kB / 0.5838 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.5052, allocations: 78.53 kB / 0.5838 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.5052, allocations: 15.98 kB / 0.5838 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.5087, allocations: 3.882 MB / 0.5876 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5087, allocations: 0 / 0.5876 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.5105, allocations: 1.024 MB / 0.5886 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.5108, allocations: 95.62 kB / 0.5887 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.5109, allocations: 11.98 kB / 0.5887 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.5112, allocations: 19.98 kB / 0.5888 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5113, allocations: 31.94 kB / 0.5888 GB, free: 3.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.5113, allocations: 23.88 kB / 0.5888 GB, free: 3.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004103/0.5117, allocations: 283.1 kB / 0.5891 GB, free: 3.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5117, allocations: 0 / 0.5891 GB, free: 3.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008051/0.5125, allocations: 168 kB / 0.5892 GB, free: 2.938 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.0001744/0.5127, allocations: 115.1 kB / 0.5894 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.5148, allocations: 1.01 MB / 0.5903 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5148, allocations: 0.8125 kB / 0.5903 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.5157, allocations: 0.6651 MB / 0.591 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.5165, allocations: 120 kB / 0.5911 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.5198, allocations: 1.709 MB / 0.5928 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.5204, allocations: 377.8 kB / 0.5931 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.5208, allocations: 120.5 kB / 0.5932 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.5209, allocations: 43.44 kB / 0.5933 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5209, allocations: 0 / 0.5933 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Templates: time 0.0185/0.5394, allocations: 8.513 MB / 0.6016 GB, free: 6.199 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.890891388058662]