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.0006877/0.0006877, allocations: 91.86 kB / 16.65 MB, free: 6.535 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.0007053/0.0007054, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.2/1.2, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1536/0.1536, allocations: 38.09 MB / 330.8 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 8 kB / 400.7 MB, free: 34.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09425, allocations: 59.16 MB / 459.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004614/0.09889, allocations: 4.674 MB / 464.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1012, allocations: 1.601 MB / 466.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.1014, allocations: 23.88 kB / 466.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1016, allocations: 63.55 kB / 466.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.1021, allocations: 207.1 kB / 466.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.1026, allocations: 215.6 kB / 466.7 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.1033, allocations: 0.8148 MB / 467.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.1041, allocations: 0.5436 MB / 468 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.1043, allocations: 195 kB / 468.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.1047, allocations: 299 kB / 468.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1048, allocations: 16 kB / 468.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.105, allocations: 139.7 kB / 468.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1052, allocations: 207.5 kB / 468.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.1054, allocations: 236.6 kB / 469.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.1059, allocations: 0.541 MB / 469.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1059, allocations: 0 / 469.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1059, allocations: 0 / 469.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1059, allocations: 0 / 469.6 MB, free: 13.28 MB / 350.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.000964/0.1069, allocations: 0.657 MB / 470.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1069, allocations: 12.03 kB / 470.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.1074, allocations: 88.31 kB / 470.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.1079, allocations: 383.2 kB / 470.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.108, allocations: 29.38 kB / 470.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.1081, allocations: 56.02 kB / 470.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.1088, allocations: 0.6248 MB / 471.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1088, allocations: 7.922 kB / 471.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.1089, allocations: 20 kB / 471.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.109, allocations: 28.98 kB / 471.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.1097, allocations: 479.5 kB / 472 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.1123, allocations: 2.887 MB / 474.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.1126, allocations: 229 kB / 475.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1128, allocations: 145.7 kB / 475.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1129, allocations: 8 kB / 475.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1129, allocations: 34.56 kB / 475.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.765e-06/0.1129, allocations: 4 kB / 475.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001378/0.1143, allocations: 0.963 MB / 476.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1143, allocations: 77.11 kB / 476.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1146, allocations: 328.5 kB / 476.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1147, allocations: 29.7 kB / 476.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1148, allocations: 283.2 kB / 476.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.1149, allocations: 98.55 kB / 477 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.115, allocations: 49.69 kB / 477.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1151, allocations: 350.7 kB / 477.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1153, allocations: 145 kB / 477.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1156, allocations: 347.2 kB / 477.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.1162, allocations: 0.5325 MB / 478.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1162, allocations: 0 / 478.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007054/0.1169, allocations: 0.5282 MB / 479 MB, free: 3.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1169, allocations: 8 kB / 479 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.117, allocations: 4 kB / 479 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.117, allocations: 12 kB / 479 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.1174, allocations: 119.8 kB / 479.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1174, allocations: 12.44 kB / 479.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1176, allocations: 27.98 kB / 479.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.1177, allocations: 24 kB / 479.2 MB, free: 3.082 MB / 350.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.0002013/0.1179, allocations: 217.5 kB / 479.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.1179, allocations: 27.62 kB / 479.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.1185, allocations: 369.6 kB / 479.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1185, allocations: 0 / 479.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1185, allocations: 8 kB / 479.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1185, allocations: 11.97 kB / 479.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.1198, allocations: 0.8834 MB / 480.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1198, allocations: 4 kB / 480.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.1201, allocations: 63.89 kB / 480.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1201, allocations: 4 kB / 480.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1201, allocations: 12.09 kB / 480.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1201, allocations: 7.938 kB / 480.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1201, allocations: 0 / 480.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.1208, allocations: 0.5808 MB / 481.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.1209, allocations: 116.7 kB / 481.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.1209, allocations: 12.03 kB / 481.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1211, allocations: 11.94 kB / 481.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1212, allocations: 15.97 kB / 481.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1212, allocations: 12 kB / 481.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1214, allocations: 223 kB / 481.7 MB, free: 400 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1214, allocations: 0 / 481.7 MB, free: 400 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.1218, allocations: 92 kB / 481.8 MB, free: 308 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.1219, allocations: 107.2 kB / 481.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005121/0.1224, allocations: 360.8 kB / 482.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1224, allocations: 0.5 kB / 482.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.1226, allocations: 151.8 kB / 482.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.1232, allocations: 67.19 kB / 482.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1246, allocations: 1.242 MB / 483.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1251, allocations: 0.8584 MB / 484.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.1254, allocations: 131.1 kB / 484.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.1255, allocations: 35.44 kB / 484.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1255, allocations: 3.938 kB / 484.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006084/0.1316, allocations: 3.141 MB / 487.9 MB, free: 10.18 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches