Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.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.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm.motor.slip|power.p.1.|power.p.2.|power.p.3.|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001079/0.001079, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.365/1.365, 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.1734/0.1734, allocations: 38.03 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.89 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.318, allocations: 58.05 MB / 0.5048 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.007301/0.3253, allocations: 7.115 MB / 0.5117 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008076/0.3334, allocations: 5.086 MB / 0.5167 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.334, allocations: 35.34 kB / 0.5167 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.3458, allocations: 5.71 MB / 0.5223 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3471, allocations: 0.5203 MB / 0.5228 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3485, allocations: 0.4891 MB / 0.5233 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003227/0.3517, allocations: 2.252 MB / 0.5255 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.3532, allocations: 0.93 MB / 0.5264 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.3545, allocations: 0.611 MB / 0.527 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3559, allocations: 0.7226 MB / 0.5277 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003759/0.3562, allocations: 100 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.3571, allocations: 256.5 kB / 0.528 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007194/0.3579, allocations: 0.4898 MB / 0.5285 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.3594, allocations: 0.5879 MB / 0.5291 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.3616, allocations: 1.543 MB / 0.5306 GB, free: 9.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3616, allocations: 0 / 0.5306 GB, free: 9.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3616, allocations: 4 kB / 0.5306 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.3616, allocations: 0 / 0.5306 GB, free: 9.43 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002817/0.3644, allocations: 1.451 MB / 0.532 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3645, allocations: 12.12 kB / 0.532 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.3651, allocations: 154.3 kB / 0.5322 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.3668, allocations: 0.9052 MB / 0.5331 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.3669, allocations: 59.03 kB / 0.5331 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.3671, allocations: 92.39 kB / 0.5332 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.3689, allocations: 1.233 MB / 0.5344 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.369, allocations: 13.33 kB / 0.5344 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.3691, allocations: 29.09 kB / 0.5345 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.3693, allocations: 87.86 kB / 0.5345 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.3709, allocations: 1.003 MB / 0.5355 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.3773, allocations: 4.895 MB / 0.5403 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.3782, allocations: 0.6476 MB / 0.5409 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.3788, allocations: 356.3 kB / 0.5413 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.3789, allocations: 11.69 kB / 0.5413 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/0.3795, allocations: 445.1 kB / 0.5417 GB, free: 1.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/0.3795, allocations: 3.938 kB / 0.5417 GB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.004483/0.384, allocations: 2.725 MB / 0.5444 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.3841, allocations: 114.1 kB / 0.5445 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008188/0.3849, allocations: 0.7507 MB / 0.5452 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.385, allocations: 37.7 kB / 0.5452 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.3853, allocations: 0.4909 MB / 0.5457 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.3855, allocations: 248.5 kB / 0.546 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.3858, allocations: 174.6 kB / 0.5461 GB, free: 13.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3859, allocations: 402.7 kB / 0.5465 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.3867, allocations: 369.8 kB / 0.5469 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/0.3875, allocations: 0.6539 MB / 0.5475 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.3888, allocations: 1.057 MB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3888, allocations: 4 kB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002874/0.3917, allocations: 1.631 MB / 0.5501 GB, free: 9.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3917, allocations: 8 kB / 0.5501 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3918, allocations: 11.94 kB / 0.5502 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.3932, allocations: 489.7 kB / 0.5506 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.3939, allocations: 175.7 kB / 0.5508 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009804/0.4037, allocations: 7.075 MB / 0.5577 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.4043, allocations: 48.03 kB / 0.5577 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.4044, allocations: 47.98 kB / 0.5578 GB, free: 1.117 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004748/0.4049, allocations: 345.5 kB / 0.5581 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.405, allocations: 94.86 kB / 0.5582 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.4069, allocations: 1.11 MB / 0.5593 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.4069, allocations: 3.984 kB / 0.5593 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4069, allocations: 4 kB / 0.5593 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4073, allocations: 212 kB / 0.5595 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.4075, allocations: 16 kB / 0.5595 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.4079, allocations: 27.97 kB / 0.5595 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.408, allocations: 60.47 kB / 0.5596 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002644/0.4107, allocations: 1.179 MB / 0.5608 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001762/0.4125, allocations: 1.408 MB / 0.5621 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004801/0.413, allocations: 364.3 kB / 0.5625 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006321/0.4136, allocations: 0.5107 MB / 0.563 GB, free: 11.69 MB / 430.1 MB Notification: Performance of Backend: time 2.81e-07/0.4136, allocations: 0 / 0.563 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.4171, allocations: 1.572 MB / 0.5645 GB, free: 10.26 MB / 430.1 MB Notification: Performance of SimCode: time 0.004169/0.4213, allocations: 3.069 MB / 0.5675 GB, free: 7.148 MB / 430.1 MB Notification: Performance of Templates: time 0.0263/0.4476, allocations: 16.23 MB / 0.5834 GB, free: 7.047 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMav.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches