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.0008536/0.0008537, allocations: 94.56 kB / 16.3 MB, free: 5.996 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.0008426/0.0008427, allocations: 184 kB / 17.2 MB, free: 5.914 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.292/1.292, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2816/0.2816, allocations: 38.07 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003171, allocations: 8 kB / 400 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.267, allocations: 59.16 MB / 459.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.003787/0.2708, allocations: 4.29 MB / 463.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2729, allocations: 1.522 MB / 464.9 MB, free: 26.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.2732, allocations: 29.53 kB / 465 MB, free: 26.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.2734, allocations: 80.08 kB / 465 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005187/0.2739, allocations: 212.2 kB / 465.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2745, allocations: 233.8 kB / 465.5 MB, free: 26.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.2749, allocations: 291.8 kB / 465.8 MB, free: 25.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007091/0.2756, allocations: 0.516 MB / 466.3 MB, free: 25.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.2758, allocations: 183 kB / 466.5 MB, free: 25.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.2762, allocations: 256.1 kB / 466.7 MB, free: 25.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.2763, allocations: 20.88 kB / 466.7 MB, free: 25.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.2766, allocations: 155.8 kB / 466.9 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.2769, allocations: 198 kB / 467.1 MB, free: 25.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.277, allocations: 113.6 kB / 467.2 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.2775, allocations: 488.3 kB / 467.7 MB, free: 25.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.2775, allocations: 0 / 467.7 MB, free: 25.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2776, allocations: 1.406 kB / 467.7 MB, free: 25.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2776, allocations: 0 / 467.7 MB, free: 25.15 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.001132/0.2787, allocations: 0.704 MB / 468.4 MB, free: 24.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2787, allocations: 9.125 kB / 468.4 MB, free: 24.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.2794, allocations: 96.3 kB / 468.5 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.28, allocations: 400.6 kB / 468.9 MB, free: 24.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.28, allocations: 36.58 kB / 468.9 MB, free: 24.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.2802, allocations: 45.31 kB / 468.9 MB, free: 24.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.2811, allocations: 0.6666 MB / 469.6 MB, free: 23.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2811, allocations: 5.969 kB / 469.6 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.2812, allocations: 16.16 kB / 469.6 MB, free: 23.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.2814, allocations: 50.41 kB / 469.7 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/0.2823, allocations: 0.6629 MB / 470.3 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.2855, allocations: 2.428 MB / 472.8 MB, free: 22.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.286, allocations: 352.8 kB / 473.1 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.286, allocations: 9.234 kB / 473.1 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.286, allocations: 46.53 kB / 473.2 MB, free: 21.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.375e-06/0.2861, allocations: 4 kB / 473.2 MB, free: 21.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002068/0.2881, allocations: 1.618 MB / 474.8 MB, free: 20.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2882, allocations: 81.23 kB / 474.9 MB, free: 20.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.2884, allocations: 284 kB / 475.2 MB, free: 20.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2885, allocations: 34.89 kB / 475.2 MB, free: 20.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2886, allocations: 247.6 kB / 475.4 MB, free: 20.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.2887, allocations: 164.8 kB / 475.6 MB, free: 20.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.2887, allocations: 6.688 kB / 475.6 MB, free: 20.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.2888, allocations: 347.9 kB / 475.9 MB, free: 20 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.2891, allocations: 217.7 kB / 476.1 MB, free: 19.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.2894, allocations: 349.1 kB / 476.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.2898, allocations: 281.9 kB / 476.8 MB, free: 19.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2898, allocations: 1.438 kB / 476.8 MB, free: 19.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001145/0.2909, allocations: 0.7139 MB / 477.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.291, allocations: 6.375 kB / 477.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007419/0.2917, allocations: 0.5068 MB / 478 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.292, allocations: 79 kB / 478.1 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2924, allocations: 107.5 kB / 478.2 MB, free: 19.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.2936, allocations: 1.63 MB / 479.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2939, allocations: 30.62 kB / 479.8 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.294, allocations: 20.14 kB / 479.9 MB, free: 17.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.2943, allocations: 219.6 kB / 480.1 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.2943, allocations: 39.59 kB / 480.1 MB, free: 17.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008081/0.2952, allocations: 0.56 MB / 480.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.2952, allocations: 13.92 kB / 480.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2952, allocations: 1.344 kB / 480.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2952, allocations: 3.984 kB / 480.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.2969, allocations: 1.18 MB / 481.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2969, allocations: 2.062 kB / 481.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.2973, allocations: 81.94 kB / 482 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2974, allocations: 3.594 kB / 482 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.2974, allocations: 19.75 kB / 482 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2974, allocations: 2.656 kB / 482 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2974, allocations: 1.312 kB / 482 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2985, allocations: 0.9648 MB / 482.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.2986, allocations: 104.8 kB / 483 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.2987, allocations: 11.98 kB / 483.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2989, allocations: 15.98 kB / 483.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.299, allocations: 32.28 kB / 483.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.299, allocations: 12 kB / 483.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.2992, allocations: 194 kB / 483.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2992, allocations: 0 / 483.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005887/0.2998, allocations: 124 kB / 483.4 MB, free: 14.99 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 (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.3, allocations: 127.1 kB / 483.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008766/0.3008, allocations: 0.6536 MB / 484.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3009, allocations: 3.938 kB / 484.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.3012, allocations: 275.5 kB / 484.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3016, allocations: 62.83 kB / 484.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3032, allocations: 1.393 MB / 485.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3035, allocations: 0.8867 MB / 486.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.3038, allocations: 127.2 kB / 486.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.3039, allocations: 31.44 kB / 487 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3039, allocations: 3.938 kB / 487 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Templates: time 0.008037/0.312, allocations: 4.109 MB / 491.1 MB, free: 7.273 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches