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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 181.9 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.0009406/0.0009407, allocations: 93.48 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1709/0.1709, allocations: 37.97 MB / 347.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.442e-06, allocations: 0 / 410 MB, free: 46.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 56.32 MB / 466.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4979, allocations: 99.41 MB / 0.5525 GB, free: 11.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.4983, allocations: 75.97 kB / 0.5526 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03906/0.5374, allocations: 12.83 MB / 0.5651 GB, free: 14.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.5375, allocations: 12 kB / 0.5651 GB, free: 14.14 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.00123/0.5387, allocations: 0.6719 MB / 0.5657 GB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5388, allocations: 8.031 kB / 0.5658 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.5394, allocations: 91.28 kB / 0.5658 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.5416, allocations: 0.8488 MB / 0.5667 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.5416, allocations: 12 kB / 0.5667 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.5417, allocations: 27.98 kB / 0.5667 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008228/0.5425, allocations: 485.6 kB / 0.5672 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5436, allocations: 0.6069 MB / 0.5678 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.5436, allocations: 3.906 kB / 0.5678 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.5437, allocations: 8 kB / 0.5678 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.5438, allocations: 40.75 kB / 0.5678 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.5479, allocations: 2.392 MB / 0.5701 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.5484, allocations: 313 kB / 0.5704 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.5488, allocations: 263.5 kB / 0.5707 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.5488, allocations: 12.16 kB / 0.5707 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.5489, allocations: 42.84 kB / 0.5708 GB, free: 8.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.5489, allocations: 0 / 0.5708 GB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.003108/0.552, allocations: 1.556 MB / 0.5723 GB, free: 6.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.552, allocations: 85.05 kB / 0.5724 GB, free: 6.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.5523, allocations: 235.3 kB / 0.5726 GB, free: 6.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.5524, allocations: 25.7 kB / 0.5726 GB, free: 6.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.5525, allocations: 220.4 kB / 0.5728 GB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.5526, allocations: 161.7 kB / 0.573 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.5527, allocations: 0 / 0.573 GB, free: 5.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5528, allocations: 354.7 kB / 0.5733 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.5532, allocations: 221 kB / 0.5735 GB, free: 5.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.5536, allocations: 376.9 kB / 0.5739 GB, free: 4.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.5543, allocations: 384 kB / 0.5742 GB, free: 4.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5543, allocations: 0 / 0.5742 GB, free: 4.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001592/0.5559, allocations: 0.8061 MB / 0.575 GB, free: 3.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.556, allocations: 4 kB / 0.575 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0012/0.5572, allocations: 0.6297 MB / 0.5756 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.5575, allocations: 84.77 kB / 0.5757 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.5579, allocations: 91.83 kB / 0.5758 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.5596, allocations: 1.509 MB / 0.5773 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.5598, allocations: 12.03 kB / 0.5773 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.5599, allocations: 23.98 kB / 0.5773 GB, free: 1.059 MB / 410.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 () * 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.0001393/0.56, allocations: 120.9 kB / 0.5774 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.5601, allocations: 35.53 kB / 0.5775 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.5613, allocations: 0.6647 MB / 0.5781 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.808e-05/0.5614, allocations: 19.98 kB / 0.5781 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.5614, allocations: 0 / 0.5781 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.5614, allocations: 7.891 kB / 0.5781 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.5637, allocations: 1.24 MB / 0.5794 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5637, allocations: 4 kB / 0.5794 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.5642, allocations: 75.98 kB / 0.5794 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5642, allocations: 8 kB / 0.5794 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5642, allocations: 7.938 kB / 0.5795 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5642, allocations: 3.984 kB / 0.5795 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5642, allocations: 7.938 kB / 0.5795 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/0.5658, allocations: 1.115 MB / 0.5806 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.5659, allocations: 112.9 kB / 0.5807 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.566, allocations: 4 kB / 0.5807 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.5663, allocations: 11.98 kB / 0.5807 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.5663, allocations: 23.95 kB / 0.5807 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.5664, allocations: 16 kB / 0.5807 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001914/0.5666, allocations: 175.1 kB / 0.5809 GB, free: 13.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.5672, allocations: 127.9 kB / 0.581 GB, free: 13.14 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 () * 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.0002721/0.5674, allocations: 135 kB / 0.5811 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.5686, allocations: 0.6715 MB / 0.5818 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5686, allocations: 5.062 kB / 0.5818 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.569, allocations: 279.8 kB / 0.5821 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.5695, allocations: 61.09 kB / 0.5821 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.5711, allocations: 0.9381 MB / 0.583 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/0.5719, allocations: 0.9175 MB / 0.5839 GB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5719, allocations: 0 / 0.5839 GB, free: 10.06 MB / 426.7 MB Notification: Performance of Templates: time 0.01049/0.5824, allocations: 4.955 MB / 0.5888 GB, free: 5.113 MB / 426.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/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