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.002119/0.002119, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.002864/0.002864, allocations: 197.3 kB / 18.2 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.855/2.855, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4283/0.4283, allocations: 38.04 MB / 330.1 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 62.38 kB / 398.9 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2417, allocations: 58.07 MB / 457 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.01869/0.2605, allocations: 5.065 MB / 462.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.2651, allocations: 1.609 MB / 463.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.2658, allocations: 27.81 kB / 463.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2674, allocations: 350.8 kB / 464 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008519/0.2683, allocations: 203.1 kB / 464.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.2693, allocations: 227.6 kB / 464.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2704, allocations: 0.5339 MB / 465 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.2712, allocations: 301.1 kB / 465.3 MB, free: 124 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000586/0.2718, allocations: 247.2 kB / 465.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006848/0.2725, allocations: 315 kB / 465.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.691e-05/0.2726, allocations: 32 kB / 465.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.273, allocations: 139.8 kB / 466 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.2734, allocations: 219.4 kB / 466.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.2737, allocations: 234.9 kB / 466.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.2746, allocations: 446.9 kB / 466.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2746, allocations: 4 kB / 466.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.2746, allocations: 0 / 466.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.2746, allocations: 0 / 466.9 MB, free: 14.52 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.002242/0.2769, allocations: 0.731 MB / 467.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.424e-05/0.277, allocations: 19.83 kB / 467.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2781, allocations: 80.31 kB / 467.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.279, allocations: 391.2 kB / 468.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.2791, allocations: 33.36 kB / 468.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.2793, allocations: 52.11 kB / 468.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2807, allocations: 0.6209 MB / 468.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.2807, allocations: 4 kB / 468.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.2808, allocations: 20 kB / 468.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.281, allocations: 32.92 kB / 468.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2824, allocations: 479.5 kB / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005966/0.2884, allocations: 2.899 MB / 472.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.2891, allocations: 233 kB / 472.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.2896, allocations: 141.7 kB / 472.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.2951, allocations: 8 kB / 472.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.2952, allocations: 30.56 kB / 472.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 5.57e-06/0.2953, allocations: 4 kB / 472.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003239/0.2985, allocations: 0.963 MB / 473.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/0.2986, allocations: 81.11 kB / 473.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.2993, allocations: 328.4 kB / 474 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.2994, allocations: 29.7 kB / 474 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.2997, allocations: 279.3 kB / 474.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.2999, allocations: 106.5 kB / 474.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.3002, allocations: 94.11 kB / 474.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.3004, allocations: 346.7 kB / 474.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.3009, allocations: 145 kB / 475 MB, free: 5.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.3016, allocations: 343.2 kB / 475.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.3028, allocations: 0.5247 MB / 475.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3028, allocations: 4 kB / 475.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001492/0.3043, allocations: 0.5247 MB / 476.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.3044, allocations: 8 kB / 476.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.3044, allocations: 8 kB / 476.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.3045, allocations: 11.98 kB / 476.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/0.3053, allocations: 119.8 kB / 476.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.3054, allocations: 11.94 kB / 476.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.3059, allocations: 27.97 kB / 476.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.306, allocations: 24 kB / 476.6 MB, free: 4.195 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.0004461/0.3064, allocations: 217.7 kB / 476.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3066, allocations: 35.61 kB / 476.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.3077, allocations: 357.7 kB / 477.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3078, allocations: 4 kB / 477.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.3078, allocations: 0 / 477.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3078, allocations: 0 / 477.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.315, allocations: 0.8951 MB / 478.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.3151, allocations: 0 / 478.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.3159, allocations: 67.91 kB / 478.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.3159, allocations: 0 / 478.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/0.316, allocations: 11.98 kB / 478.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.316, allocations: 11.92 kB / 478.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.316, allocations: 3.938 kB / 478.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3177, allocations: 0.5849 MB / 478.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.3179, allocations: 108.8 kB / 478.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.3181, allocations: 8 kB / 478.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.3185, allocations: 15.92 kB / 478.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.3186, allocations: 23.98 kB / 478.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.3187, allocations: 11.98 kB / 478.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005361/0.3193, allocations: 219 kB / 479.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3193, allocations: 0 / 479.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3203, allocations: 92 kB / 479.2 MB, free: 1.414 MB / 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.0002691/0.3206, allocations: 107.2 kB / 479.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.322, allocations: 407.4 kB / 479.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.3221, allocations: 5.812 kB / 479.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.3225, allocations: 139.8 kB / 479.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3235, allocations: 72.03 kB / 479.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.327, allocations: 1.23 MB / 481.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/0.3279, allocations: 0.8582 MB / 482 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.3281, allocations: 31.44 kB / 482.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3281, allocations: 4 kB / 482.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01683/0.3449, allocations: 4.921 MB / 487 MB, free: 9.582 MB / 366.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