Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [: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.357/1.357, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0009446/0.0009445, allocations: 177.3 kB / 366.3 MB, free: 2 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.031/1.031, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.0007916/0.0007916, allocations: 99.09 kB / 0.7396 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.56e-06, allocations: 0 / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3981, allocations: 116.3 MB / 0.9726 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5436, allocations: 160.2 MB / 1.129 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5439, allocations: 91.94 kB / 1.129 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07744/0.6213, allocations: 36.06 MB / 1.164 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.216e-05/0.6214, allocations: 27.98 kB / 1.164 GB, free: 1.781 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001552/0.623, allocations: 0.9549 MB / 1.165 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.623, allocations: 8.031 kB / 1.165 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.6245, allocations: 242.6 kB / 1.166 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.6253, allocations: 0.5354 MB / 1.166 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.6254, allocations: 23.91 kB / 1.166 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/0.6255, allocations: 40 kB / 1.166 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009209/0.6264, allocations: 0.6209 MB / 1.167 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.6277, allocations: 1.042 MB / 1.168 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.6277, allocations: 4 kB / 1.168 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.6278, allocations: 4 kB / 1.168 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/0.6279, allocations: 61.22 kB / 1.168 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.6325, allocations: 5.782 MB / 1.173 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.6333, allocations: 0.5234 MB / 1.174 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.6337, allocations: 318.1 kB / 1.174 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.6338, allocations: 18.3 kB / 1.174 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.6338, allocations: 38.91 kB / 1.174 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.6338, allocations: 0 / 1.174 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.001982/0.6358, allocations: 1.189 MB / 1.176 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.6358, allocations: 63.83 kB / 1.176 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.6362, allocations: 394.1 kB / 1.176 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.6363, allocations: 25.7 kB / 1.176 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.6365, allocations: 346.8 kB / 1.176 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6366, allocations: 161.6 kB / 1.176 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.6366, allocations: 0 / 1.176 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6368, allocations: 374.7 kB / 1.177 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.6371, allocations: 257.2 kB / 1.177 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.6376, allocations: 449.5 kB / 1.177 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.638, allocations: 337.2 kB / 1.178 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.638, allocations: 0 / 1.178 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001565/0.6396, allocations: 0.9755 MB / 1.179 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6396, allocations: 16.08 kB / 1.179 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6396, allocations: 8 kB / 1.179 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/0.6404, allocations: 263.9 kB / 1.179 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.6408, allocations: 111.8 kB / 1.179 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/0.6461, allocations: 6.21 MB / 1.185 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.6466, allocations: 15.98 kB / 1.185 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.6466, allocations: 24 kB / 1.185 GB, free: 11.11 MB / 0.7917 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.6468, allocations: 126.2 kB / 1.185 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.6469, allocations: 75.3 kB / 1.185 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.6482, allocations: 0.8402 MB / 1.186 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6482, allocations: 4 kB / 1.186 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6482, allocations: 4 kB / 1.186 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6483, allocations: 3.906 kB / 1.186 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.6504, allocations: 1.598 MB / 1.188 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6505, allocations: 5.391 kB / 1.188 GB, free: 8.352 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.6507, allocations: 55.91 kB / 1.188 GB, free: 8.297 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006949/0.6514, allocations: 267.3 kB / 1.188 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.6515, allocations: 8.938 kB / 1.188 GB, free: 8.016 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.6564, allocations: 6.18 MB / 1.194 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.6565, allocations: 11.78 kB / 1.194 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001296/0.6578, allocations: 1.013 MB / 1.195 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.658, allocations: 188.3 kB / 1.195 GB, free: 80 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.6581, allocations: 5.062 kB / 1.195 GB, free: 76 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.6585, allocations: 11.98 kB / 1.195 GB, free: 64 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.6585, allocations: 35.81 kB / 1.195 GB, free: 28 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.6586, allocations: 16 kB / 1.195 GB, free: 12 kB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0002896/0.6589, allocations: 295 kB / 1.196 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006222/0.6595, allocations: 192.6 kB / 1.196 GB, free: 15.54 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.6596, allocations: 115.1 kB / 1.196 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.6611, allocations: 1.149 MB / 1.197 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6611, allocations: 0 / 1.197 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.6621, allocations: 0.796 MB / 1.198 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.6629, allocations: 171.7 kB / 1.198 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.6645, allocations: 0.9747 MB / 1.199 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.6652, allocations: 1.056 MB / 1.2 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of SimCode: time 2.71e-07/0.6652, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.015/0.6802, allocations: 10.07 MB / 1.21 GB, free: 1.254 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)