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.001305/0.001305, allocations: 107 kB / 17.74 MB, free: 5.312 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.001334/0.001334, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.305/1.305, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1757/0.1757, allocations: 38.04 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 58.05 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004753/0.2972, allocations: 4.424 MB / 0.5091 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2991, allocations: 1.425 MB / 0.5105 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2992, allocations: 13.56 kB / 0.5105 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.3002, allocations: 375.7 kB / 0.5108 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.3006, allocations: 231.1 kB / 0.5111 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.3013, allocations: 245.5 kB / 0.5113 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.3018, allocations: 0.5287 MB / 0.5118 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.3022, allocations: 283.3 kB / 0.5121 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.3025, allocations: 246.7 kB / 0.5123 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.3029, allocations: 299.3 kB / 0.5126 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.303, allocations: 31.62 kB / 0.5126 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.3033, allocations: 139.2 kB / 0.5128 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.3036, allocations: 230 kB / 0.513 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3038, allocations: 231.9 kB / 0.5132 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.3044, allocations: 0.565 MB / 0.5138 GB, free: 2.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3044, allocations: 0.7031 kB / 0.5138 GB, free: 2.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3044, allocations: 4 kB / 0.5138 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3044, allocations: 0 / 0.5138 GB, free: 2.227 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.001016/0.3055, allocations: 0.7483 MB / 0.5145 GB, free: 1.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3055, allocations: 13.56 kB / 0.5145 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005011/0.306, allocations: 80.64 kB / 0.5146 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.3066, allocations: 416.5 kB / 0.515 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3066, allocations: 33.56 kB / 0.515 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3067, allocations: 46.53 kB / 0.5151 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.3076, allocations: 0.6243 MB / 0.5157 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3076, allocations: 3.516 kB / 0.5157 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.3076, allocations: 16.5 kB / 0.5157 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.3078, allocations: 36.23 kB / 0.5157 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.3085, allocations: 482.9 kB / 0.5162 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.3116, allocations: 2.886 MB / 0.519 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.312, allocations: 237.1 kB / 0.5192 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3122, allocations: 145.7 kB / 0.5194 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3123, allocations: 7.109 kB / 0.5194 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3123, allocations: 33.94 kB / 0.5194 GB, free: 14.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.833e-06/0.3123, allocations: 4 kB / 0.5194 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001562/0.3139, allocations: 0.9717 MB / 0.5204 GB, free: 13.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3139, allocations: 80.7 kB / 0.5204 GB, free: 13.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.3143, allocations: 325.9 kB / 0.5207 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3143, allocations: 31.02 kB / 0.5208 GB, free: 13.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3145, allocations: 282.2 kB / 0.521 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-05/0.3146, allocations: 111.2 kB / 0.5211 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3147, allocations: 95.28 kB / 0.5212 GB, free: 12.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3149, allocations: 349.5 kB / 0.5216 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3151, allocations: 140.9 kB / 0.5217 GB, free: 12.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.3155, allocations: 357 kB / 0.522 GB, free: 12.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.3161, allocations: 0.5161 MB / 0.5225 GB, free: 11.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3161, allocations: 6.188 kB / 0.5226 GB, free: 11.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007939/0.3169, allocations: 0.5256 MB / 0.5231 GB, free: 11.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3169, allocations: 8.25 kB / 0.5231 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3169, allocations: 6.875 kB / 0.5231 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.317, allocations: 14.36 kB / 0.5231 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3174, allocations: 118.6 kB / 0.5232 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.3174, allocations: 11.08 kB / 0.5232 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3177, allocations: 30.19 kB / 0.5232 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3177, allocations: 31.8 kB / 0.5233 GB, free: 11.67 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.0002305/0.3179, allocations: 216.5 kB / 0.5235 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.318, allocations: 34.88 kB / 0.5235 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.3187, allocations: 362.3 kB / 0.5239 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3187, allocations: 6.281 kB / 0.5239 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3187, allocations: 1.438 kB / 0.5239 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.3188, allocations: 107.2 kB / 0.524 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.3188, allocations: 7.406 kB / 0.524 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.319, allocations: 19.41 kB / 0.524 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3191, allocations: 20.97 kB / 0.524 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007694/0.3199, allocations: 0.5085 MB / 0.5245 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008132/0.3207, allocations: 0.739 MB / 0.5252 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001981/0.3209, allocations: 149.6 kB / 0.5254 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3211, allocations: 222.9 kB / 0.5256 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Backend: time 7.41e-07/0.3211, allocations: 0 / 0.5256 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000978/0.3221, allocations: 402.2 kB / 0.526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of SimCode: time 0.00164/0.3238, allocations: 1.372 MB / 0.5273 GB, free: 9.129 MB / 398.1 MB Notification: Performance of Templates: time 0.009405/0.3332, allocations: 4.735 MB / 0.5319 GB, free: 7.75 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