Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.13/2.13, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001564, allocations: 169.3 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 91.22 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.968e-06, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5447/0.5447, allocations: 115.2 MB / 0.9628 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.8129, allocations: 169.9 MB / 1.129 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.8133, allocations: 89.31 kB / 1.129 GB, free: 2.719 MB / 0.7292 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.06791/0.8812, allocations: 17.4 MB / 1.146 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.8813, allocations: 17.05 kB / 1.146 GB, free: 1.215 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001369/0.8827, allocations: 0.623 MB / 1.146 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8827, allocations: 8.531 kB / 1.146 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.8844, allocations: 155.4 kB / 1.147 GB, free: 392 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.8852, allocations: 346 kB / 1.147 GB, free: 8 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.8853, allocations: 8 kB / 1.147 GB, free: 0 / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.8854, allocations: 27.95 kB / 1.147 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009438/0.8864, allocations: 349.4 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.8875, allocations: 479.9 kB / 1.148 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.8875, allocations: 4 kB / 1.148 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.8876, allocations: 4 kB / 1.148 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.8877, allocations: 30.14 kB / 1.148 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.8913, allocations: 2.344 MB / 1.15 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.8916, allocations: 122.4 kB / 1.15 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.8919, allocations: 108.8 kB / 1.15 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.892, allocations: 4.344 kB / 1.15 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.892, allocations: 38.47 kB / 1.15 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.892, allocations: 0 / 1.15 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002387/0.8944, allocations: 0.8043 MB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.8945, allocations: 55.31 kB / 1.151 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.8948, allocations: 225 kB / 1.151 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.8949, allocations: 29.7 kB / 1.151 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.895, allocations: 207.5 kB / 1.152 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.912e-05/0.8951, allocations: 82.75 kB / 1.152 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.8951, allocations: 0 / 1.152 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8953, allocations: 339.8 kB / 1.152 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.8956, allocations: 92.62 kB / 1.152 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.8959, allocations: 179.5 kB / 1.152 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.8962, allocations: 129 kB / 1.152 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8963, allocations: 0 / 1.152 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001122/0.8974, allocations: 403.9 kB / 1.153 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8974, allocations: 4 kB / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8974, allocations: 4 kB / 1.153 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.898, allocations: 94.66 kB / 1.153 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.8986, allocations: 63.91 kB / 1.153 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0039/0.9025, allocations: 3.875 MB / 1.157 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.9029, allocations: 8 kB / 1.157 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.903, allocations: 12 kB / 1.157 GB, free: 5.191 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 0.0001329/0.9031, allocations: 120.6 kB / 1.157 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.9032, allocations: 27.62 kB / 1.157 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.9033, allocations: 42.14 kB / 1.157 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.9033, allocations: 4 kB / 1.157 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9033, allocations: 0 / 1.157 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.9034, allocations: 3.984 kB / 1.157 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.9039, allocations: 334 kB / 1.157 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9039, allocations: 0 / 1.157 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.9043, allocations: 39.91 kB / 1.157 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.9048, allocations: 86.52 kB / 1.157 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.9048, allocations: 3.906 kB / 1.157 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00381/0.9086, allocations: 3.863 MB / 1.161 GB, free: 300 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9087, allocations: 1.875 kB / 1.161 GB, free: 300 kB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001289/0.91, allocations: 0.5353 MB / 1.162 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.9102, allocations: 120.7 kB / 1.162 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.9103, allocations: 0 / 1.162 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.9106, allocations: 15.92 kB / 1.162 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.9107, allocations: 11.98 kB / 1.162 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.9107, allocations: 6.25 kB / 1.162 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0002434/0.911, allocations: 173.2 kB / 1.162 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006194/0.9116, allocations: 92.06 kB / 1.162 GB, free: 15.3 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.0001645/0.9118, allocations: 99.23 kB / 1.162 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9129, allocations: 0.5527 MB / 1.163 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9129, allocations: 0 / 1.163 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.9136, allocations: 433.4 kB / 1.163 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.9141, allocations: 52.5 kB / 1.163 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.9156, allocations: 0.4913 MB / 1.164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006432/0.9162, allocations: 0.8639 MB / 1.164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.9162, allocations: 0 / 1.164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.01279/0.929, allocations: 4.151 MB / 1.169 GB, free: 8.676 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)