Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") [: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.001029/0.00103, allocations: 182.8 kB / 8.137 MB, free: 2.184 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.387/1.387, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0009154/0.0009154, allocations: 95.77 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2106/0.2106, allocations: 37.98 MB / 347.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.311e-06/6.352e-06, allocations: 0 / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 56.32 MB / 466.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3248/0.4353, allocations: 99.15 MB / 0.5522 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4356, allocations: 79.95 kB / 0.5523 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0763/0.5119, allocations: 25.66 MB / 0.5773 GB, free: 1.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.006e-05/0.512, allocations: 16 kB / 0.5774 GB, free: 1.375 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001884/0.5139, allocations: 1.026 MB / 0.5784 GB, free: 308 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.514, allocations: 8.031 kB / 0.5784 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.515, allocations: 162.7 kB / 0.5785 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/0.5187, allocations: 1.302 MB / 0.5798 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.5188, allocations: 32 kB / 0.5798 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.519, allocations: 48 kB / 0.5799 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001473/0.5205, allocations: 0.8549 MB / 0.5807 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.522, allocations: 1.044 MB / 0.5817 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.5221, allocations: 4 kB / 0.5817 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.5222, allocations: 0 / 0.5817 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.5223, allocations: 89.88 kB / 0.5818 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/0.5285, allocations: 4.117 MB / 0.5858 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.5295, allocations: 0.5897 MB / 0.5864 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.53, allocations: 315.2 kB / 0.5867 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.5301, allocations: 13.23 kB / 0.5867 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5301, allocations: 39.06 kB / 0.5868 GB, free: 7.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.936e-06/0.5302, allocations: 0 / 0.5868 GB, free: 7.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.002372/0.5325, allocations: 1.459 MB / 0.5882 GB, free: 5.855 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.5326, allocations: 85.8 kB / 0.5883 GB, free: 5.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.5331, allocations: 461.8 kB / 0.5887 GB, free: 5.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.5332, allocations: 25.7 kB / 0.5887 GB, free: 5.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.5334, allocations: 394.6 kB / 0.5891 GB, free: 4.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.5336, allocations: 209 kB / 0.5893 GB, free: 4.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.5336, allocations: 0 / 0.5893 GB, free: 4.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.5338, allocations: 378.7 kB / 0.5897 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.5342, allocations: 277.9 kB / 0.5899 GB, free: 4.008 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.5348, allocations: 0.6113 MB / 0.5905 GB, free: 3.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.5354, allocations: 394.9 kB / 0.5909 GB, free: 2.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5354, allocations: 8 kB / 0.5909 GB, free: 2.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002036/0.5374, allocations: 1.091 MB / 0.592 GB, free: 1.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5375, allocations: 4.625 kB / 0.592 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001302/0.5388, allocations: 0.6972 MB / 0.5927 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007729/0.5396, allocations: 210.3 kB / 0.5929 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.5403, allocations: 215.7 kB / 0.5931 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.5449, allocations: 4.642 MB / 0.5976 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.5456, allocations: 16.06 kB / 0.5976 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.5457, allocations: 48.03 kB / 0.5977 GB, free: 11.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.5459, allocations: 155.6 kB / 0.5978 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.546, allocations: 67.16 kB / 0.5979 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.547, allocations: 0.6158 MB / 0.5985 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.547, allocations: 4 kB / 0.5985 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5471, allocations: 4 kB / 0.5985 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5471, allocations: 3.984 kB / 0.5985 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.5496, allocations: 1.479 MB / 0.5999 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5496, allocations: 4 kB / 0.5999 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.5504, allocations: 159.8 kB / 0.6001 GB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.5504, allocations: 4 kB / 0.6001 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.5505, allocations: 15.98 kB / 0.6001 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.5505, allocations: 12.28 kB / 0.6001 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5505, allocations: 4 kB / 0.6001 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001422/0.552, allocations: 1.131 MB / 0.6012 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.5523, allocations: 180.3 kB / 0.6014 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.5524, allocations: 7.906 kB / 0.6014 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.5528, allocations: 7.984 kB / 0.6014 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.5529, allocations: 44.44 kB / 0.6015 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.553, allocations: 20.05 kB / 0.6015 GB, free: 7.438 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004954/0.5535, allocations: 326.9 kB / 0.6018 GB, free: 7.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001105/0.5546, allocations: 205.8 kB / 0.602 GB, free: 6.922 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * 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.0002365/0.5548, allocations: 132.4 kB / 0.6021 GB, free: 6.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.5564, allocations: 1.033 MB / 0.6031 GB, free: 5.723 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5564, allocations: 4.062 kB / 0.6031 GB, free: 5.719 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.5569, allocations: 325.6 kB / 0.6034 GB, free: 5.395 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.5576, allocations: 126.5 kB / 0.6036 GB, free: 5.273 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.5606, allocations: 1.582 MB / 0.6051 GB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/0.5616, allocations: 1.145 MB / 0.6062 GB, free: 2.461 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5616, allocations: 8 kB / 0.6062 GB, free: 2.453 MB / 442.7 MB Notification: Performance of Templates: time 0.01665/0.5782, allocations: 8.453 MB / 0.6145 GB, free: 10 MB / 458.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches