Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.InitialSteadyState,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.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,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.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002445/0.002445, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.003488/0.003487, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.029/3.029, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3985/0.3985, allocations: 38.03 MB / 330.1 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 63.48 kB / 398.9 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.215, allocations: 58.06 MB / 457 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.01267/0.2278, allocations: 5.073 MB / 462.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.2333, allocations: 1.605 MB / 463.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009186/0.2342, allocations: 27.81 kB / 463.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.2362, allocations: 350.8 kB / 464.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.2376, allocations: 239 kB / 464.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2389, allocations: 223.6 kB / 464.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.2403, allocations: 0.5611 MB / 465.1 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2417, allocations: 301.1 kB / 465.4 MB, free: 16 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.2429, allocations: 254.9 kB / 465.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.2443, allocations: 382.9 kB / 466 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.2445, allocations: 36 kB / 466 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.2455, allocations: 243.6 kB / 466.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005583/0.2461, allocations: 231.5 kB / 466.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007299/0.2469, allocations: 254.7 kB / 466.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.2481, allocations: 0.5029 MB / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2481, allocations: 0 / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.2481, allocations: 0 / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.2482, allocations: 0 / 467.2 MB, free: 14.14 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003035/0.2512, allocations: 0.7738 MB / 468 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.2513, allocations: 11.89 kB / 468 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.2526, allocations: 100.2 kB / 468.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.254, allocations: 399.2 kB / 468.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.2541, allocations: 29.38 kB / 468.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.2544, allocations: 56.05 kB / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.2564, allocations: 0.6765 MB / 469.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.2565, allocations: 7.938 kB / 469.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.2566, allocations: 19.98 kB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/0.2569, allocations: 48.97 kB / 469.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.2588, allocations: 0.6674 MB / 470 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.2651, allocations: 2.433 MB / 472.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2662, allocations: 372.7 kB / 472.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.2668, allocations: 262.2 kB / 473.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.2669, allocations: 4.281 kB / 473.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.267, allocations: 34.84 kB / 473.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 8.155e-06/0.267, allocations: 4 kB / 473.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004219/0.2712, allocations: 1.463 MB / 474.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.2713, allocations: 85.05 kB / 474.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.2719, allocations: 290.9 kB / 474.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.272, allocations: 29.7 kB / 475 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.2723, allocations: 247.7 kB / 475.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.2725, allocations: 165.7 kB / 475.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.2728, allocations: 94.25 kB / 475.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.2731, allocations: 350.8 kB / 475.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.2737, allocations: 213 kB / 476 MB, free: 4.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007617/0.2744, allocations: 361.8 kB / 476.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2759, allocations: 0.6277 MB / 477 MB, free: 3.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2759, allocations: 4 kB / 477 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002291/0.2782, allocations: 0.712 MB / 477.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.2783, allocations: 12.5 kB / 477.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001523/0.2798, allocations: 0.5225 MB / 478.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005543/0.2804, allocations: 76.78 kB / 478.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.2811, allocations: 103.8 kB / 478.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.2841, allocations: 1.722 MB / 480.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.2847, allocations: 36.02 kB / 480.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.2848, allocations: 20 kB / 480.2 MB, free: 0.5156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005468/0.2854, allocations: 217.7 kB / 480.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.2856, allocations: 39.61 kB / 480.4 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.2872, allocations: 0.5668 MB / 481 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/0.2873, allocations: 11.98 kB / 481 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2873, allocations: 4 kB / 481 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.2873, allocations: 4 kB / 481 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.2908, allocations: 1.199 MB / 482.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2908, allocations: 4 kB / 482.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.2916, allocations: 79.89 kB / 482.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/0.2916, allocations: 8.094 kB / 482.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.711e-05/0.2917, allocations: 11.98 kB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.2917, allocations: 4 kB / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2917, allocations: 0 / 482.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.294, allocations: 0.9335 MB / 483.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.2942, allocations: 108.6 kB / 483.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2943, allocations: 8 kB / 483.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.2947, allocations: 20.02 kB / 483.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.2949, allocations: 27.91 kB / 483.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.2949, allocations: 16 kB / 483.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.2953, allocations: 197.9 kB / 483.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2953, allocations: 0 / 483.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001059/0.2964, allocations: 120 kB / 483.8 MB, free: 12.82 MB / 366.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0004456/0.2969, allocations: 139.4 kB / 483.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.2992, allocations: 0.7704 MB / 484.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.2992, allocations: 8.062 kB / 484.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.2999, allocations: 267.3 kB / 484.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.301, allocations: 75.3 kB / 485 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.305, allocations: 1.417 MB / 486.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009459/0.306, allocations: 0.8782 MB / 487.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.3063, allocations: 39.42 kB / 487.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3063, allocations: 0 / 487.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of Templates: time 0.02078/0.3271, allocations: 6.406 MB / 493.7 MB, free: 2.742 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches