Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [: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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 185.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 82.28 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.536e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2151, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6762/0.8914, allocations: 201 MB / 1.081 GB, free: 4.844 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.8917, allocations: 98.98 kB / 1.081 GB, free: 4.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.1942/1.086, allocations: 83.48 MB / 1.162 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.72e-05/1.086, allocations: 39.94 kB / 1.163 GB, free: 9.82 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002782/1.089, allocations: 1.599 MB / 1.164 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.089, allocations: 12.03 kB / 1.164 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/1.099, allocations: 1.515 MB / 1.166 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/1.102, allocations: 1.228 MB / 1.167 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/1.102, allocations: 40 kB / 1.167 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/1.102, allocations: 87.83 kB / 1.167 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002871/1.105, allocations: 1.754 MB / 1.169 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/1.108, allocations: 2.104 MB / 1.171 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/1.108, allocations: 7.844 kB / 1.171 GB, free: 1.176 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/1.108, allocations: 8 kB / 1.171 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.225e-05/1.108, allocations: 86.28 kB / 1.171 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/1.123, allocations: 10.33 MB / 1.181 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/1.125, allocations: 1.656 MB / 1.182 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.126, allocations: 0.9051 MB / 1.183 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/1.126, allocations: 8.781 kB / 1.183 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/1.127, allocations: 43.34 kB / 1.183 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/1.127, allocations: 0 / 1.183 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.01301/1.14, allocations: 5.814 MB / 1.189 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/1.14, allocations: 218.9 kB / 1.189 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/1.141, allocations: 0.7662 MB / 1.19 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.141, allocations: 29.64 kB / 1.19 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/1.141, allocations: 0.5191 MB / 1.191 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/1.142, allocations: 441.4 kB / 1.191 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/1.142, allocations: 4 kB / 1.191 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.142, allocations: 353.9 kB / 1.191 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.143, allocations: 0.967 MB / 1.192 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/1.144, allocations: 1.223 MB / 1.193 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/1.146, allocations: 1.119 MB / 1.195 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.146, allocations: 0 / 1.195 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00821/1.154, allocations: 3.676 MB / 1.198 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.154, allocations: 8 kB / 1.198 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.154, allocations: 4 kB / 1.198 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/1.161, allocations: 1.58 MB / 1.2 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.163, allocations: 367.4 kB / 1.2 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/1.189, allocations: 23.32 MB / 1.223 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.192, allocations: 203.7 kB / 1.223 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.192, allocations: 63.95 kB / 1.223 GB, free: 9.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003776/1.193, allocations: 128.7 kB / 1.223 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/1.193, allocations: 146.3 kB / 1.223 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/1.202, allocations: 3.786 MB / 1.227 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.202, allocations: 15.91 kB / 1.227 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/1.202, allocations: 12 kB / 1.227 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.202, allocations: 7.969 kB / 1.227 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/1.214, allocations: 6.023 MB / 1.233 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.214, allocations: 4 kB / 1.233 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/1.216, allocations: 311.8 kB / 1.233 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006157/1.222, allocations: 1.459 MB / 1.235 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.222, allocations: 23.97 kB / 1.235 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/1.245, allocations: 22.36 MB / 1.257 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.246, allocations: 4 kB / 1.257 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008131/1.254, allocations: 3.66 MB / 1.26 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.255, allocations: 459.1 kB / 1.261 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/1.255, allocations: 4.562 kB / 1.261 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.257, allocations: 203.7 kB / 1.261 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.257, allocations: 76.8 kB / 1.261 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.258, allocations: 47.97 kB / 1.261 GB, free: 420 kB / 0.8698 GB Notification: Performance of sort global known variables: time 0.4348/1.692, allocations: 0.5745 MB / 1.261 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002903/1.695, allocations: 0.5055 MB / 1.262 GB, free: 228.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/1.696, allocations: 153.9 kB / 1.262 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005958/1.702, allocations: 4.052 MB / 1.266 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.702, allocations: 0 / 1.266 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/1.706, allocations: 2.855 MB / 1.269 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.708, allocations: 412.2 kB / 1.269 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/1.715, allocations: 2.921 MB / 1.272 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.716, allocations: 1.56 MB / 1.274 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/1.716, allocations: 0 / 1.274 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.05111/1.768, allocations: 39.02 MB / 1.312 GB, free: 223 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches