Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") [: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.0.1-maint.8.0.x/package.mo): time 1.324/1.324, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009788/0.0009791, allocations: 177.3 kB / 361.1 MB, free: 7.102 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.021/1.021, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007341/0.0007341, allocations: 82.16 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.159e-06/5.179e-06, allocations: 0 / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4072, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5643, allocations: 170.1 MB / 1.13 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.5645, allocations: 89.62 kB / 1.13 GB, free: 1.777 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.04186/0.6064, allocations: 17.39 MB / 1.147 GB, free: 296 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.6065, allocations: 11.94 kB / 1.147 GB, free: 284 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001057/0.6075, allocations: 0.6269 MB / 1.147 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6076, allocations: 12.03 kB / 1.147 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.6087, allocations: 152.5 kB / 1.148 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.6093, allocations: 346 kB / 1.148 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.6094, allocations: 16 kB / 1.148 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.6094, allocations: 19.91 kB / 1.148 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005648/0.61, allocations: 345.4 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.6107, allocations: 485.4 kB / 1.149 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6107, allocations: 0 / 1.149 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.6108, allocations: 4 kB / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.6108, allocations: 28.64 kB / 1.149 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.6132, allocations: 2.344 MB / 1.151 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.6134, allocations: 127.5 kB / 1.151 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.6136, allocations: 105.9 kB / 1.151 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.6136, allocations: 4 kB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.6136, allocations: 34.47 kB / 1.151 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.374e-06/0.6136, allocations: 3.984 kB / 1.151 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001532/0.6152, allocations: 0.8008 MB / 1.152 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.6152, allocations: 63.31 kB / 1.152 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.6154, allocations: 229 kB / 1.152 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.6155, allocations: 25.7 kB / 1.152 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.6156, allocations: 204.8 kB / 1.153 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.6156, allocations: 82.75 kB / 1.153 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.6157, allocations: 4 kB / 1.153 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6158, allocations: 330.8 kB / 1.153 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.6159, allocations: 96.62 kB / 1.153 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6162, allocations: 179.5 kB / 1.153 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.6163, allocations: 129 kB / 1.153 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6164, allocations: 0 / 1.153 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000679/0.617, allocations: 399.9 kB / 1.154 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.6171, allocations: 4 kB / 1.154 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.6171, allocations: 4 kB / 1.154 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.6174, allocations: 102.7 kB / 1.154 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.6177, allocations: 59.91 kB / 1.154 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.6205, allocations: 3.868 MB / 1.158 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.6207, allocations: 8 kB / 1.158 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.6207, allocations: 8 kB / 1.158 GB, free: 4.262 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.785e-05/0.6208, allocations: 120.8 kB / 1.158 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.6209, allocations: 35.66 kB / 1.158 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.621, allocations: 34.05 kB / 1.158 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.621, allocations: 4 kB / 1.158 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.621, allocations: 0 / 1.158 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.621, allocations: 0 / 1.158 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.6214, allocations: 338 kB / 1.158 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6214, allocations: 0 / 1.158 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.6216, allocations: 39.92 kB / 1.158 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.6219, allocations: 91.44 kB / 1.158 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.6219, allocations: 3.906 kB / 1.158 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.6246, allocations: 3.855 MB / 1.162 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6246, allocations: 0 / 1.162 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000717/0.6253, allocations: 0.5395 MB / 1.163 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6255, allocations: 124.7 kB / 1.163 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.6255, allocations: 3.938 kB / 1.163 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.6257, allocations: 8 kB / 1.163 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.6257, allocations: 7.984 kB / 1.163 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.6258, allocations: 9.5 kB / 1.163 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001511/0.6259, allocations: 181.3 kB / 1.163 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004322/0.6264, allocations: 88 kB / 1.163 GB, free: 14.37 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.6265, allocations: 99.03 kB / 1.163 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007181/0.6272, allocations: 0.5524 MB / 1.164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6272, allocations: 0 / 1.164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.6277, allocations: 433.4 kB / 1.164 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.628, allocations: 60.08 kB / 1.164 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.6289, allocations: 0.4915 MB / 1.165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.6294, allocations: 0.8634 MB / 1.166 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of SimCode: time 3.31e-07/0.6294, allocations: 0 / 1.166 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.007568/0.637, allocations: 4.139 MB / 1.17 GB, free: 7.742 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)