Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 110.3 kB / 17.74 MB, free: 5.336 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.001389/0.001389, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 58.06 MB / 0.5048 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004823/0.3348, allocations: 4.428 MB / 0.5091 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3369, allocations: 1.42 MB / 0.5105 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.3371, allocations: 13.16 kB / 0.5105 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.3381, allocations: 383.8 kB / 0.5108 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.3386, allocations: 227.3 kB / 0.5111 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.3392, allocations: 239.1 kB / 0.5113 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.3398, allocations: 0.5331 MB / 0.5118 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.3402, allocations: 277.8 kB / 0.5121 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.3405, allocations: 250.9 kB / 0.5123 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.341, allocations: 295.6 kB / 0.5126 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.3411, allocations: 36.56 kB / 0.5126 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.3414, allocations: 134.6 kB / 0.5128 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.3416, allocations: 224.3 kB / 0.513 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.3419, allocations: 240.5 kB / 0.5132 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.3426, allocations: 0.565 MB / 0.5138 GB, free: 2.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3426, allocations: 1 kB / 0.5138 GB, free: 2.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3426, allocations: 0 / 0.5138 GB, free: 2.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.3426, allocations: 0 / 0.5138 GB, free: 2.402 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001195/0.3438, allocations: 0.7346 MB / 0.5145 GB, free: 1.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3439, allocations: 11.73 kB / 0.5145 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.3444, allocations: 89.44 kB / 0.5146 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.3451, allocations: 408.5 kB / 0.515 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.3452, allocations: 29.41 kB / 0.515 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.3453, allocations: 46.72 kB / 0.515 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008771/0.3462, allocations: 0.6188 MB / 0.5156 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.3462, allocations: 1.188 kB / 0.5156 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.3463, allocations: 22.59 kB / 0.5157 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.3464, allocations: 36.48 kB / 0.5157 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.3472, allocations: 482 kB / 0.5161 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.3508, allocations: 2.889 MB / 0.519 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.3513, allocations: 236 kB / 0.5192 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.3516, allocations: 144.7 kB / 0.5193 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.3516, allocations: 4.672 kB / 0.5193 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.3517, allocations: 40.52 kB / 0.5194 GB, free: 14.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.005e-06/0.3517, allocations: 0 / 0.5194 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001812/0.3535, allocations: 0.9591 MB / 0.5203 GB, free: 13.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.3536, allocations: 84.3 kB / 0.5204 GB, free: 13.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.354, allocations: 322.6 kB / 0.5207 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.354, allocations: 30.92 kB / 0.5207 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3542, allocations: 281.2 kB / 0.521 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3543, allocations: 101.6 kB / 0.5211 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3545, allocations: 91.81 kB / 0.5212 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.3546, allocations: 347.6 kB / 0.5215 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.3549, allocations: 147.2 kB / 0.5217 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.3553, allocations: 356.1 kB / 0.522 GB, free: 12.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.356, allocations: 0.5132 MB / 0.5225 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.356, allocations: 2.094 kB / 0.5225 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008904/0.3569, allocations: 0.5304 MB / 0.523 GB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3569, allocations: 7.719 kB / 0.523 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3569, allocations: 7.344 kB / 0.523 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.357, allocations: 13.72 kB / 0.523 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.3574, allocations: 115.1 kB / 0.5232 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.3574, allocations: 14.36 kB / 0.5232 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3577, allocations: 26.39 kB / 0.5232 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.3577, allocations: 24.44 kB / 0.5232 GB, free: 11.9 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.358, allocations: 223.3 kB / 0.5234 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.3581, allocations: 31.36 kB / 0.5235 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.3588, allocations: 358.2 kB / 0.5238 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3588, allocations: 1.5 kB / 0.5238 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3588, allocations: 1.375 kB / 0.5238 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.3589, allocations: 111.7 kB / 0.5239 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.3589, allocations: 8.156 kB / 0.5239 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3591, allocations: 24.25 kB / 0.5239 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3592, allocations: 15.42 kB / 0.524 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008173/0.36, allocations: 0.5086 MB / 0.5245 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008976/0.3609, allocations: 0.747 MB / 0.5252 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002243/0.3612, allocations: 148.5 kB / 0.5253 GB, free: 10.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002614/0.3614, allocations: 224.7 kB / 0.5255 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Backend: time 6.41e-07/0.3614, allocations: 0 / 0.5255 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.3625, allocations: 396.8 kB / 0.5259 GB, free: 10.37 MB / 398.1 MB Notification: Performance of SimCode: time 0.001793/0.3643, allocations: 1.357 MB / 0.5272 GB, free: 9.375 MB / 398.1 MB Notification: Performance of Templates: time 0.01059/0.3749, allocations: 4.724 MB / 0.5319 GB, free: 8.031 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches