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.001613/0.001613, allocations: 72.94 kB / 21.24 MB, free: 0.5547 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.002048/0.002048, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.575/1.575, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.1866/0.1866, allocations: 29.43 MB / 290.7 MB, free: 3.266 MB / 270.1 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.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.002236/0.002236, allocations: 59.91 kB / 431.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3472, allocations: 62.45 MB / 493.6 MB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.008202/0.3554, allocations: 5.51 MB / 499.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.3627, allocations: 4.103 MB / 0.4915 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.3633, allocations: 27.75 kB / 0.4915 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.3751, allocations: 5.443 MB / 0.4968 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.3767, allocations: 446 kB / 0.4972 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008802/0.3776, allocations: 279.5 kB / 0.4975 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003259/0.3808, allocations: 1.805 MB / 0.4993 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3818, allocations: 0.6184 MB / 0.4999 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009062/0.3828, allocations: 494.4 kB / 0.5003 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.3836, allocations: 0.5137 MB / 0.5008 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.3837, allocations: 72 kB / 0.5009 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.3841, allocations: 143.7 kB / 0.501 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.3845, allocations: 339.1 kB / 0.5014 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.385, allocations: 330.5 kB / 0.5017 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.3866, allocations: 1.035 MB / 0.5027 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3866, allocations: 0 / 0.5027 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3866, allocations: 0 / 0.5027 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.3866, allocations: 0 / 0.5027 GB, free: 12.68 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.002109/0.3887, allocations: 0.9758 MB / 0.5036 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3887, allocations: 15.98 kB / 0.5037 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.3892, allocations: 108.4 kB / 0.5038 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3905, allocations: 0.5632 MB / 0.5043 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.3906, allocations: 75 kB / 0.5044 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3907, allocations: 67.94 kB / 0.5044 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.3921, allocations: 0.8311 MB / 0.5053 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.3922, allocations: 7.938 kB / 0.5053 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3922, allocations: 23.98 kB / 0.5053 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.3924, allocations: 53.28 kB / 0.5053 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3934, allocations: 0.6117 MB / 0.5059 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/0.3986, allocations: 2.599 MB / 0.5085 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009437/0.3995, allocations: 431.8 kB / 0.5089 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.3999, allocations: 236 kB / 0.5091 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3999, allocations: 4.656 kB / 0.5091 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/0.4004, allocations: 387.9 kB / 0.5095 GB, free: 5.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/0.4004, allocations: 0 / 0.5095 GB, free: 5.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003595/0.404, allocations: 1.723 MB / 0.5112 GB, free: 3.641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.4042, allocations: 136.5 kB / 0.5113 GB, free: 3.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.4047, allocations: 421.7 kB / 0.5117 GB, free: 3.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.4048, allocations: 37.7 kB / 0.5117 GB, free: 3.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.4051, allocations: 344.5 kB / 0.5121 GB, free: 2.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4053, allocations: 166.6 kB / 0.5122 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.4055, allocations: 118.3 kB / 0.5123 GB, free: 2.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.4057, allocations: 358.8 kB / 0.5127 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.4061, allocations: 258.9 kB / 0.5129 GB, free: 1.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.4067, allocations: 423.5 kB / 0.5133 GB, free: 1.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.4096, allocations: 1.266 MB / 0.5146 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4096, allocations: 0 / 0.5146 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001865/0.4115, allocations: 0.9857 MB / 0.5155 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.4115, allocations: 33.7 kB / 0.5156 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4115, allocations: 4.438 kB / 0.5156 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/0.4125, allocations: 304.4 kB / 0.5159 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4135, allocations: 179.7 kB / 0.516 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/0.4207, allocations: 4.994 MB / 0.5209 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.4211, allocations: 27.98 kB / 0.5209 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.4211, allocations: 24 kB / 0.5209 GB, free: 9.164 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.0004652/0.4216, allocations: 291.3 kB / 0.5212 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.4216, allocations: 55.66 kB / 0.5213 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.4229, allocations: 0.6836 MB / 0.5219 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4229, allocations: 8 kB / 0.522 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4229, allocations: 0 / 0.522 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4229, allocations: 0 / 0.522 GB, free: 8.086 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.002302/0.4252, allocations: 1.332 MB / 0.5233 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4252, allocations: 4 kB / 0.5233 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.4265, allocations: 195.9 kB / 0.5234 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.4268, allocations: 74.53 kB / 0.5235 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.4268, allocations: 15.98 kB / 0.5235 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.4303, allocations: 3.878 MB / 0.5273 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4303, allocations: 4.031 kB / 0.5273 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.432, allocations: 1.02 MB / 0.5283 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.4322, allocations: 95.56 kB / 0.5284 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.4323, allocations: 12 kB / 0.5284 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4326, allocations: 19.98 kB / 0.5284 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.4327, allocations: 35.95 kB / 0.5285 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.4327, allocations: 31.97 kB / 0.5285 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.4331, allocations: 287.1 kB / 0.5288 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4331, allocations: 0 / 0.5288 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000753/0.4338, allocations: 160 kB / 0.5289 GB, free: 0.5039 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.000161/0.434, allocations: 115.2 kB / 0.529 GB, free: 388 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.4359, allocations: 1.014 MB / 0.53 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4359, allocations: 0 / 0.53 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008897/0.4368, allocations: 0.657 MB / 0.5307 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.4375, allocations: 121.9 kB / 0.5308 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.4405, allocations: 1.691 MB / 0.5324 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.4411, allocations: 385.8 kB / 0.5328 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.4414, allocations: 112.5 kB / 0.5329 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.4416, allocations: 40.48 kB / 0.533 GB, free: 12.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4416, allocations: 0 / 0.533 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Templates: time 0.0168/0.4584, allocations: 7.694 MB / 0.5405 GB, free: 4.609 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.mat","/var/lib/jenkins1/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.4161168748978525]