Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [: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.332/1.332, allocations: 289.8 MB / 297 MB, free: 6.602 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.0009545/0.0009545, allocations: 181.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.997/0.997, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0007415/0.0007413, allocations: 80.8 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.492e-06, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4026, allocations: 116.3 MB / 0.9726 GB, free: 68.89 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5531, allocations: 158.6 MB / 1.127 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5534, allocations: 96.67 kB / 1.128 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02649/0.5799, allocations: 11.75 MB / 1.139 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.5799, allocations: 7.984 kB / 1.139 GB, free: 9.957 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004696/0.5804, allocations: 458.4 kB / 1.139 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.5804, allocations: 8.031 kB / 1.139 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/0.581, allocations: 71.64 kB / 1.14 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.5813, allocations: 228.2 kB / 1.14 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5813, allocations: 8 kB / 1.14 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.5813, allocations: 8 kB / 1.14 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002573/0.5816, allocations: 152.3 kB / 1.14 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.5819, allocations: 268.2 kB / 1.14 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5819, allocations: 0 / 1.14 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.582, allocations: 3.938 kB / 1.14 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.582, allocations: 24.12 kB / 1.14 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.5835, allocations: 1.62 MB / 1.142 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.5836, allocations: 77.12 kB / 1.142 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.5837, allocations: 41.83 kB / 1.142 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.5837, allocations: 4 kB / 1.142 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5837, allocations: 38.55 kB / 1.142 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.5837, allocations: 0 / 1.142 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004021/0.5841, allocations: 176.6 kB / 1.142 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.5842, allocations: 77.67 kB / 1.142 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.5844, allocations: 193.8 kB / 1.142 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5844, allocations: 25.7 kB / 1.142 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.5845, allocations: 163.4 kB / 1.143 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.5845, allocations: 31.73 kB / 1.143 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.5845, allocations: 0 / 1.143 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5846, allocations: 323.4 kB / 1.143 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.5847, allocations: 75.97 kB / 1.143 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5849, allocations: 155.1 kB / 1.143 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.5851, allocations: 113.2 kB / 1.143 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5851, allocations: 3.938 kB / 1.143 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003993/0.5855, allocations: 261.2 kB / 1.143 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.5859, allocations: 1.131 MB / 1.145 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5859, allocations: 4 kB / 1.145 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5859, allocations: 4 kB / 1.145 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.5861, allocations: 55.81 kB / 1.145 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5862, allocations: 15.92 kB / 1.145 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5864, allocations: 15.98 kB / 1.145 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.5864, allocations: 8.75 kB / 1.145 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.5864, allocations: 4 kB / 1.145 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003153/0.5867, allocations: 192.8 kB / 1.145 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5867, allocations: 4.375 kB / 1.145 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.5867, allocations: 8 kB / 1.145 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.5869, allocations: 47.91 kB / 1.145 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.5869, allocations: 7.938 kB / 1.145 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5871, allocations: 15.89 kB / 1.145 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.5871, allocations: 15.94 kB / 1.145 GB, free: 3.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 6.846e-05/0.5872, allocations: 108.9 kB / 1.145 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.5872, allocations: 15.81 kB / 1.145 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.5874, allocations: 110.7 kB / 1.145 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5874, allocations: 8 kB / 1.145 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5874, allocations: 128 / 1.145 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5874, allocations: 4 kB / 1.145 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.5881, allocations: 0.5899 MB / 1.146 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5881, allocations: 0 / 1.146 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.5881, allocations: 16 kB / 1.146 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5881, allocations: 0 / 1.146 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.5882, allocations: 7.906 kB / 1.146 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5882, allocations: 3.984 kB / 1.146 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5882, allocations: 7.938 kB / 1.146 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002461/0.5884, allocations: 333.3 kB / 1.146 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.5885, allocations: 104.9 kB / 1.146 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.5886, allocations: 4 kB / 1.146 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.5887, allocations: 7.984 kB / 1.146 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.5887, allocations: 7.938 kB / 1.146 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.5887, allocations: 15.94 kB / 1.146 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001319/0.5889, allocations: 159 kB / 1.146 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004186/0.5893, allocations: 79.92 kB / 1.146 GB, free: 1.664 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001239/0.5894, allocations: 111.2 kB / 1.147 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.5898, allocations: 260.6 kB / 1.147 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5898, allocations: 0.5625 kB / 1.147 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/0.5898, allocations: 51.84 kB / 1.147 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.5901, allocations: 27.89 kB / 1.147 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.5906, allocations: 269.6 kB / 1.147 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.5909, allocations: 0.7553 MB / 1.148 GB, free: 136 kB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.591, allocations: 4 kB / 1.148 GB, free: 132 kB / 0.7448 GB Notification: Performance of Templates: time 0.004799/0.5958, allocations: 2.505 MB / 1.15 GB, free: 13.66 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)