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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1707/0.1707, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2856, allocations: 58.06 MB / 0.5048 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.005589/0.2913, allocations: 5.717 MB / 0.5104 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.2963, allocations: 4.432 MB / 0.5147 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.2967, allocations: 23.91 kB / 0.5147 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009026/0.3058, allocations: 4.89 MB / 0.5195 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3068, allocations: 443.2 kB / 0.5199 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.3076, allocations: 272.5 kB / 0.5202 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.3096, allocations: 1.722 MB / 0.5218 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.3104, allocations: 0.7279 MB / 0.5226 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.311, allocations: 479.3 kB / 0.523 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.3116, allocations: 0.5033 MB / 0.5235 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3118, allocations: 76.44 kB / 0.5236 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.312, allocations: 139 kB / 0.5237 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.3124, allocations: 328.7 kB / 0.524 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.3128, allocations: 401.4 kB / 0.5244 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3139, allocations: 1.026 MB / 0.5254 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3139, allocations: 0 / 0.5254 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3139, allocations: 0.8438 kB / 0.5254 GB, free: 12.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.3139, allocations: 0 / 0.5254 GB, free: 12.74 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.001802/0.3157, allocations: 1.036 MB / 0.5264 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3158, allocations: 12.3 kB / 0.5264 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004111/0.3162, allocations: 108.3 kB / 0.5265 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.3173, allocations: 0.617 MB / 0.5271 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.3174, allocations: 77.5 kB / 0.5272 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3176, allocations: 64.66 kB / 0.5273 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3187, allocations: 0.8122 MB / 0.5281 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.3188, allocations: 2.25 kB / 0.5281 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.3189, allocations: 25.64 kB / 0.5281 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.319, allocations: 49.09 kB / 0.5281 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/0.3199, allocations: 0.5961 MB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.3236, allocations: 2.916 MB / 0.5316 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.3243, allocations: 423.2 kB / 0.532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.3247, allocations: 232.7 kB / 0.5322 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3247, allocations: 12.23 kB / 0.5322 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.3251, allocations: 354 kB / 0.5325 GB, free: 7.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.3252, allocations: 0 / 0.5325 GB, free: 7.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.002947/0.3281, allocations: 2.025 MB / 0.5345 GB, free: 6.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.3282, allocations: 142 kB / 0.5347 GB, free: 6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.3286, allocations: 455.8 kB / 0.5351 GB, free: 5.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3287, allocations: 35.89 kB / 0.5351 GB, free: 5.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3289, allocations: 330.2 kB / 0.5354 GB, free: 5.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.3291, allocations: 158.4 kB / 0.5356 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3292, allocations: 109.2 kB / 0.5357 GB, free: 5.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3294, allocations: 364.1 kB / 0.536 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.3297, allocations: 231.9 kB / 0.5363 GB, free: 4.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.3302, allocations: 397.8 kB / 0.5366 GB, free: 4.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.3328, allocations: 1.325 MB / 0.5379 GB, free: 3.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3328, allocations: 1.094 kB / 0.5379 GB, free: 3.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001704/0.3345, allocations: 0.977 MB / 0.5389 GB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3346, allocations: 33.73 kB / 0.5389 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3346, allocations: 4.844 kB / 0.5389 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/0.3355, allocations: 312.3 kB / 0.5392 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/0.3364, allocations: 176.1 kB / 0.5394 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006102/0.3425, allocations: 5.285 MB / 0.5446 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.3428, allocations: 22.95 kB / 0.5446 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.3429, allocations: 36.08 kB / 0.5446 GB, free: 14.29 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.0003445/0.3433, allocations: 291.8 kB / 0.5449 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.3433, allocations: 60.69 kB / 0.545 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.3445, allocations: 0.8046 MB / 0.5457 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3445, allocations: 7.922 kB / 0.5457 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3445, allocations: 1.438 kB / 0.5457 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3448, allocations: 171.3 kB / 0.5459 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.3448, allocations: 18.48 kB / 0.5459 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.3451, allocations: 19.17 kB / 0.5459 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.3452, allocations: 29.42 kB / 0.546 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002076/0.3473, allocations: 0.9728 MB / 0.5469 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0012/0.3485, allocations: 1.059 MB / 0.548 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000323/0.3488, allocations: 248.5 kB / 0.5482 GB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003246/0.3492, allocations: 315.1 kB / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.3492, allocations: 3.938 kB / 0.5485 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3511, allocations: 0.9393 MB / 0.5494 GB, free: 9.707 MB / 414.1 MB Notification: Performance of SimCode: time 0.002472/0.3536, allocations: 2.112 MB / 0.5515 GB, free: 7.539 MB / 414.1 MB Notification: Performance of Templates: time 0.01521/0.3688, allocations: 9.384 MB / 0.5606 GB, free: 14.24 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.makefile (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) 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) Reference file matches