Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [: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.343/1.343, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.00113, allocations: 182.6 kB / 316 MB, free: 7.176 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.573/1.573, allocations: 205.1 MB / 0.5667 GB, free: 23.53 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.001012/0.001012, allocations: 94.41 kB / 0.671 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.826e-06, allocations: 0 / 0.7807 GB, free: 344 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5311, allocations: 106.3 MB / 0.8846 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.7113, allocations: 155.2 MB / 1.036 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.7116, allocations: 87.94 kB / 1.036 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5544/1.266, allocations: 85.39 MB / 1.12 GB, free: 81.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.611e-05/1.266, allocations: 40 kB / 1.12 GB, free: 81.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002502/1.269, allocations: 1.541 MB / 1.121 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.269, allocations: 8.031 kB / 1.121 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/1.273, allocations: 0.6143 MB / 1.122 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.275, allocations: 0.8919 MB / 1.123 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/1.275, allocations: 47.94 kB / 1.123 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.275, allocations: 72 kB / 1.123 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001983/1.277, allocations: 1.395 MB / 1.124 GB, free: 76.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/1.279, allocations: 2.16 MB / 1.126 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/1.279, allocations: 19.83 kB / 1.126 GB, free: 74.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/1.28, allocations: 12 kB / 1.126 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.28, allocations: 150.3 kB / 1.126 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00926/1.289, allocations: 12.24 MB / 1.138 GB, free: 60.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.291, allocations: 1.484 MB / 1.14 GB, free: 59.47 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006329/1.291, allocations: 0.5972 MB / 1.14 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/1.292, allocations: 106.1 kB / 1.141 GB, free: 58.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/1.292, allocations: 43.56 kB / 1.141 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=103): time 3.637e-06/1.292, allocations: 0 / 1.141 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110): time 0.00444/1.296, allocations: 2.465 MB / 1.143 GB, free: 56.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.296, allocations: 64.39 kB / 1.143 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/1.297, allocations: 0.6522 MB / 1.144 GB, free: 55.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/1.297, allocations: 29.64 kB / 1.144 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/1.297, allocations: 0.6105 MB / 1.144 GB, free: 54.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.297, allocations: 374.5 kB / 1.145 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/1.297, allocations: 0 / 1.145 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/1.298, allocations: 361.9 kB / 1.145 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/1.298, allocations: 0.5779 MB / 1.146 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008455/1.299, allocations: 1.009 MB / 1.147 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.301, allocations: 0.8693 MB / 1.147 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.301, allocations: 4 kB / 1.147 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003224/1.304, allocations: 2.047 MB / 1.149 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.304, allocations: 4 kB / 1.149 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.304, allocations: 12 kB / 1.149 GB, free: 49.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/1.305, allocations: 259.4 kB / 1.15 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.306, allocations: 331.5 kB / 1.15 GB, free: 48.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/1.311, allocations: 10.29 MB / 1.16 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.313, allocations: 59.92 kB / 1.16 GB, free: 37.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.313, allocations: 67.98 kB / 1.16 GB, free: 37.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000238/1.313, allocations: 152.5 kB / 1.16 GB, free: 37.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.313, allocations: 118.6 kB / 1.16 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.316, allocations: 1.696 MB / 1.162 GB, free: 35.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.316, allocations: 12 kB / 1.162 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/1.316, allocations: 4 kB / 1.162 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.316, allocations: 7.969 kB / 1.162 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/1.32, allocations: 3.119 MB / 1.165 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.321, allocations: 4 kB / 1.165 GB, free: 32.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/1.321, allocations: 207.6 kB / 1.165 GB, free: 31.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/1.322, allocations: 247.1 kB / 1.166 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/1.322, allocations: 11.98 kB / 1.166 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005484/1.328, allocations: 10.26 MB / 1.176 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.328, allocations: 11.92 kB / 1.176 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002915/1.331, allocations: 2.086 MB / 1.178 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/1.331, allocations: 311.5 kB / 1.178 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.331, allocations: 8 kB / 1.178 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/1.332, allocations: 47.92 kB / 1.178 GB, free: 17.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.332, allocations: 72.48 kB / 1.178 GB, free: 17.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/1.332, allocations: 39.98 kB / 1.178 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000641/1.333, allocations: 0.4939 MB / 1.179 GB, free: 17.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001423/1.334, allocations: 351.8 kB / 1.179 GB, free: 16.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002307/1.334, allocations: 132.2 kB / 1.179 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002586/1.337, allocations: 2.328 MB / 1.181 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.337, allocations: 0 / 1.181 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.339, allocations: 1.526 MB / 1.183 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.34, allocations: 266.8 kB / 1.183 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/1.344, allocations: 2.156 MB / 1.185 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.345, allocations: 1.456 MB / 1.187 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/1.345, allocations: 0 / 1.187 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of Templates: time 0.02828/1.373, allocations: 17.64 MB / 1.204 GB, free: 7.105 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches