Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.768/1.768, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 169.3 kB / 487 MB, free: 5.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 104.5 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.27e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1793, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.6719, allocations: 173.1 MB / 1.374 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.6722, allocations: 90.94 kB / 1.374 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.2312/0.9034, allocations: 112.2 MB / 1.484 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.07e-05/0.9035, allocations: 43.98 kB / 1.484 GB, free: 2.074 MB / 0.9011 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.002173/0.9056, allocations: 1.568 MB / 1.486 GB, free: 464 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.9057, allocations: 8.031 kB / 1.486 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004132/0.9098, allocations: 0.6143 MB / 1.486 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.9112, allocations: 0.892 MB / 1.487 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.9112, allocations: 40 kB / 1.487 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.9114, allocations: 79.91 kB / 1.487 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00194/0.9133, allocations: 1.399 MB / 1.488 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.9159, allocations: 2.161 MB / 1.491 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.9159, allocations: 19.88 kB / 1.491 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.916, allocations: 8 kB / 1.491 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.9162, allocations: 150.3 kB / 1.491 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009849/0.926, allocations: 12.24 MB / 1.503 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.9278, allocations: 1.479 MB / 1.504 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.9285, allocations: 0.6089 MB / 1.505 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.9286, allocations: 94.09 kB / 1.505 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.9287, allocations: 47.5 kB / 1.505 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=103): time 2.134e-06/0.9287, allocations: 3.938 kB / 1.505 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110): time 0.003959/0.9326, allocations: 2.472 MB / 1.507 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.9327, allocations: 60.41 kB / 1.507 GB, free: 8.719 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.9333, allocations: 0.6483 MB / 1.508 GB, free: 8.051 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.9334, allocations: 25.7 kB / 1.508 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.9337, allocations: 0.6143 MB / 1.509 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.934, allocations: 362.6 kB / 1.509 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.934, allocations: 0 / 1.509 GB, free: 7.035 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9342, allocations: 361.9 kB / 1.509 GB, free: 6.676 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.9349, allocations: 0.5818 MB / 1.51 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009815/0.9359, allocations: 1.013 MB / 1.511 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.9374, allocations: 0.8771 MB / 1.512 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.9375, allocations: 7.906 kB / 1.512 GB, free: 4.012 MB / 0.9323 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003303/0.9408, allocations: 2.051 MB / 1.514 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9408, allocations: 4 kB / 1.514 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9408, allocations: 12 kB / 1.514 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007148/0.9415, allocations: 254.8 kB / 1.514 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.9427, allocations: 331.4 kB / 1.514 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006834/0.9495, allocations: 10.28 MB / 1.524 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.9506, allocations: 59.92 kB / 1.524 GB, free: 6.055 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.9507, allocations: 67.98 kB / 1.524 GB, free: 5.988 MB / 0.948 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.0002185/0.9509, allocations: 150.8 kB / 1.525 GB, free: 5.836 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.9511, allocations: 122.5 kB / 1.525 GB, free: 5.715 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.9539, allocations: 1.696 MB / 1.526 GB, free: 3.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.9539, allocations: 11.91 kB / 1.526 GB, free: 3.969 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.954, allocations: 4 kB / 1.526 GB, free: 3.965 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.954, allocations: 7.969 kB / 1.526 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.9587, allocations: 3.119 MB / 1.529 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.9587, allocations: 7.984 kB / 1.529 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.9595, allocations: 199.7 kB / 1.53 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/0.9601, allocations: 234.7 kB / 1.53 GB, free: 248 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.9602, allocations: 19.98 kB / 1.53 GB, free: 228 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006953/0.9672, allocations: 10.26 MB / 1.54 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.9672, allocations: 12 kB / 1.54 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002753/0.97, allocations: 2.085 MB / 1.542 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.9705, allocations: 311.5 kB / 1.542 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.9706, allocations: 11.98 kB / 1.542 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.9713, allocations: 43.94 kB / 1.542 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9714, allocations: 68.61 kB / 1.542 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.9715, allocations: 39.98 kB / 1.542 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0005649/0.972, allocations: 0.49 MB / 1.543 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001214/0.9732, allocations: 351.9 kB / 1.543 GB, free: 1.387 MB / 0.9636 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.0002253/0.9735, allocations: 143.5 kB / 1.543 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002846/0.9763, allocations: 2.317 MB / 1.546 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.9763, allocations: 4.312 kB / 1.546 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.9781, allocations: 1.529 MB / 1.547 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.9792, allocations: 271.3 kB / 1.547 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.9827, allocations: 2.152 MB / 1.549 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.9838, allocations: 1.449 MB / 1.551 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of SimCode: time 3.8e-07/0.9839, allocations: 0 / 1.551 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of Templates: time 0.0252/1.009, allocations: 17.62 MB / 1.568 GB, free: 7.715 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches