Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [: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 8.1.4-maint.8.1.x/package.mo): time 1.341/1.341, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 185.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 89.5 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.071e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3939, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5484, allocations: 169.9 MB / 1.138 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.5487, allocations: 95.92 kB / 1.139 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.04088/0.5896, allocations: 17.97 MB / 1.156 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.5896, allocations: 12 kB / 1.156 GB, free: 8.363 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006757/0.5903, allocations: 0.5316 MB / 1.157 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.5903, allocations: 8.031 kB / 1.157 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/0.5911, allocations: 99.59 kB / 1.157 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.5914, allocations: 261.6 kB / 1.157 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5914, allocations: 8 kB / 1.157 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.5915, allocations: 12 kB / 1.157 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004293/0.5919, allocations: 260.8 kB / 1.157 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.5923, allocations: 345.3 kB / 1.158 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5924, allocations: 4 kB / 1.158 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.5924, allocations: 0 / 1.158 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.5924, allocations: 23.77 kB / 1.158 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.5942, allocations: 1.68 MB / 1.159 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.5945, allocations: 281 kB / 1.16 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.5948, allocations: 173.7 kB / 1.16 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.5949, allocations: 93.09 kB / 1.16 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5949, allocations: 30.56 kB / 1.16 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.595, allocations: 0 / 1.16 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.002834/0.5978, allocations: 1.105 MB / 1.161 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.5978, allocations: 81.11 kB / 1.161 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.598, allocations: 150.4 kB / 1.161 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.598, allocations: 25.7 kB / 1.161 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.5981, allocations: 148.3 kB / 1.161 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.5982, allocations: 114.3 kB / 1.161 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.5982, allocations: 3.938 kB / 1.161 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5983, allocations: 334.8 kB / 1.162 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.5986, allocations: 219.9 kB / 1.162 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.599, allocations: 305.3 kB / 1.162 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.5996, allocations: 306 kB / 1.163 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5996, allocations: 0 / 1.163 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001069/0.6007, allocations: 0.6116 MB / 1.163 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.601, allocations: 0.8809 MB / 1.164 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.601, allocations: 0 / 1.164 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.601, allocations: 8 kB / 1.164 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009481/0.602, allocations: 147.8 kB / 1.164 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.602, allocations: 7.984 kB / 1.164 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.6024, allocations: 39.97 kB / 1.164 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.6024, allocations: 19.98 kB / 1.164 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.6024, allocations: 4 kB / 1.164 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008487/0.6033, allocations: 467.5 kB / 1.165 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.6033, allocations: 0 / 1.165 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.6033, allocations: 4 kB / 1.165 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.604, allocations: 132.1 kB / 1.165 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.604, allocations: 10.56 kB / 1.165 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.6043, allocations: 35.97 kB / 1.165 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.6044, allocations: 13.5 kB / 1.165 GB, free: 15.01 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.6045, allocations: 120.8 kB / 1.165 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.6046, allocations: 19.72 kB / 1.165 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.6057, allocations: 0.6463 MB / 1.166 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6058, allocations: 8.031 kB / 1.166 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6058, allocations: 7.906 kB / 1.166 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6058, allocations: 4 kB / 1.166 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.6076, allocations: 1.286 MB / 1.167 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6076, allocations: 4 kB / 1.167 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.6083, allocations: 116.9 kB / 1.167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.6083, allocations: 7.938 kB / 1.167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.6083, allocations: 12.08 kB / 1.167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6083, allocations: 4 kB / 1.167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6083, allocations: 0 / 1.167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008238/0.6092, allocations: 0.7826 MB / 1.168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.6093, allocations: 140.8 kB / 1.168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.6094, allocations: 4 kB / 1.168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.6097, allocations: 31.97 kB / 1.168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.6098, allocations: 27.95 kB / 1.168 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.6098, allocations: 12 kB / 1.168 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.594e-05/0.6099, allocations: 135.6 kB / 1.168 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00056/0.6105, allocations: 143.9 kB / 1.168 GB, free: 11.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.6107, allocations: 155 kB / 1.168 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009384/0.6116, allocations: 0.7148 MB / 1.169 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6116, allocations: 0 / 1.169 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.6119, allocations: 231.7 kB / 1.169 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.6123, allocations: 42.41 kB / 1.169 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.6133, allocations: 0.5819 MB / 1.17 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.6138, allocations: 0.8355 MB / 1.171 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of SimCode: time 2.3e-07/0.6138, allocations: 0 / 1.171 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of Templates: time 0.009838/0.6237, allocations: 6.58 MB / 1.177 GB, free: 2.133 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)