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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008879/0.0008881, allocations: 176.8 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007486/0.0007487, allocations: 79.92 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1725/0.1725, allocations: 38.08 MB / 358.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 56.31 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4291, allocations: 100.2 MB / 0.5682 GB, free: 2.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4294, allocations: 87.81 kB / 0.5682 GB, free: 1.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03976/0.4692, allocations: 13.27 MB / 0.5812 GB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4693, allocations: 4 kB / 0.5812 GB, free: 4.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.4693, allocations: 8 kB / 0.5812 GB, free: 4.5 MB / 410.7 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.001444/0.4708, allocations: 0.7155 MB / 0.5819 GB, free: 3.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4708, allocations: 12.03 kB / 0.5819 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.4714, allocations: 96.2 kB / 0.582 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4725, allocations: 0.542 MB / 0.5825 GB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.4725, allocations: 30.12 kB / 0.5826 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.4726, allocations: 47.89 kB / 0.5826 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.4737, allocations: 0.6608 MB / 0.5833 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.4738, allocations: 7.938 kB / 0.5833 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.4738, allocations: 23.98 kB / 0.5833 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.474, allocations: 44.97 kB / 0.5833 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.4749, allocations: 0.644 MB / 0.584 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.4784, allocations: 2.417 MB / 0.5863 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.479, allocations: 350.1 kB / 0.5867 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.4793, allocations: 258.3 kB / 0.5869 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.4794, allocations: 4.281 kB / 0.5869 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4794, allocations: 38.84 kB / 0.5869 GB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.4794, allocations: 4 kB / 0.587 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.00224/0.4817, allocations: 1.476 MB / 0.5884 GB, free: 12.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4818, allocations: 85.05 kB / 0.5885 GB, free: 12.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.482, allocations: 294.8 kB / 0.5888 GB, free: 12.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.4821, allocations: 33.83 kB / 0.5888 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4822, allocations: 239.8 kB / 0.589 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4824, allocations: 165.6 kB / 0.5892 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.4824, allocations: 8 kB / 0.5892 GB, free: 11.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4826, allocations: 350.8 kB / 0.5895 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.4829, allocations: 220.9 kB / 0.5897 GB, free: 11.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.4833, allocations: 357.2 kB / 0.5901 GB, free: 10.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.4841, allocations: 0.6319 MB / 0.5907 GB, free: 10.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4841, allocations: 4 kB / 0.5907 GB, free: 10.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001191/0.4853, allocations: 0.72 MB / 0.5914 GB, free: 9.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4854, allocations: 8 kB / 0.5914 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008656/0.4863, allocations: 0.5241 MB / 0.5919 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.4866, allocations: 76.78 kB / 0.592 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.4871, allocations: 99.81 kB / 0.5921 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.4887, allocations: 1.593 MB / 0.5936 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.489, allocations: 31.88 kB / 0.5937 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.489, allocations: 23.98 kB / 0.5937 GB, free: 7.074 MB / 426.7 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 (53): * Single equations (assignments): 49 * Array equations: 3 * 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.0003001/0.4893, allocations: 217.6 kB / 0.5939 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.4894, allocations: 35.61 kB / 0.5939 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/0.4903, allocations: 0.552 MB / 0.5945 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.4904, allocations: 12 kB / 0.5945 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.4904, allocations: 0 / 0.5945 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.4904, allocations: 7.984 kB / 0.5945 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.4922, allocations: 1.192 MB / 0.5957 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4922, allocations: 0 / 0.5957 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.4926, allocations: 83.88 kB / 0.5957 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4926, allocations: 4 kB / 0.5957 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.4927, allocations: 15.92 kB / 0.5957 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.4927, allocations: 3.938 kB / 0.5958 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4927, allocations: 12.09 kB / 0.5958 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.4939, allocations: 0.9328 MB / 0.5967 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.494, allocations: 112.6 kB / 0.5968 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.4941, allocations: 4 kB / 0.5968 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.4943, allocations: 35.94 kB / 0.5968 GB, free: 3.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.4944, allocations: 23.97 kB / 0.5968 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.4944, allocations: 8 kB / 0.5969 GB, free: 3.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.4946, allocations: 194 kB / 0.597 GB, free: 3.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4946, allocations: 0 / 0.597 GB, free: 3.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000586/0.4952, allocations: 140 kB / 0.5972 GB, free: 3.367 MB / 426.7 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 (37): * Single equations (assignments): 33 * Array equations: 3 * 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.0002445/0.4954, allocations: 131.1 kB / 0.5973 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.4965, allocations: 0.6684 MB / 0.5979 GB, free: 2.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4965, allocations: 0 / 0.5979 GB, free: 2.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.4969, allocations: 277 kB / 0.5982 GB, free: 2.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.4974, allocations: 65.39 kB / 0.5983 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4995, allocations: 1.415 MB / 0.5997 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.5001, allocations: 0.8783 MB / 0.6005 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.5004, allocations: 115.2 kB / 0.6006 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.5005, allocations: 39.42 kB / 0.6007 GB, free: 15.71 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5005, allocations: 0 / 0.6007 GB, free: 15.71 MB / 442.7 MB Notification: Performance of Templates: time 0.009315/0.5099, allocations: 3.982 MB / 0.6045 GB, free: 11.74 MB / 442.7 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","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches