Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [: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.293/1.293, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009736/0.0009736, allocations: 173.3 kB / 361.1 MB, free: 7.113 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.9978/0.9978, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.000738/0.000738, allocations: 89 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.129e-06, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4086, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5634, allocations: 165.3 MB / 1.125 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.5637, allocations: 89.11 kB / 1.125 GB, free: 6.582 MB / 0.7292 GB [/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/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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.04041/0.6041, allocations: 17.32 MB / 1.142 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.6041, allocations: 12 kB / 1.142 GB, free: 5.168 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009971/0.6051, allocations: 0.6152 MB / 1.143 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.6052, allocations: 8.031 kB / 1.143 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008706/0.606, allocations: 115.4 kB / 1.143 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.6066, allocations: 328.2 kB / 1.143 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.6067, allocations: 38.48 kB / 1.143 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.6068, allocations: 20 kB / 1.143 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005085/0.6073, allocations: 329.4 kB / 1.144 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.6079, allocations: 436.7 kB / 1.144 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.6079, allocations: 7.984 kB / 1.144 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.6079, allocations: 7.594 kB / 1.144 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.608, allocations: 32.67 kB / 1.144 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.6102, allocations: 2.149 MB / 1.146 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.6107, allocations: 233.6 kB / 1.146 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.611, allocations: 136.8 kB / 1.146 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.611, allocations: 0 / 1.146 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.6111, allocations: 34.56 kB / 1.146 GB, free: 376 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.062e-06/0.6111, allocations: 0 / 1.146 GB, free: 376 kB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0005998/0.6117, allocations: 249.8 kB / 1.147 GB, free: 116 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.6117, allocations: 55.41 kB / 1.147 GB, free: 48 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.6119, allocations: 189.6 kB / 1.147 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.6119, allocations: 25.7 kB / 1.147 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.612, allocations: 191.6 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.6121, allocations: 67.03 kB / 1.147 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.6121, allocations: 0 / 1.147 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.6122, allocations: 338.7 kB / 1.148 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6123, allocations: 72.67 kB / 1.148 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.6125, allocations: 159.5 kB / 1.148 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.6126, allocations: 104 kB / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6126, allocations: 4 kB / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006106/0.6132, allocations: 323.4 kB / 1.148 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.6135, allocations: 0.9626 MB / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6136, allocations: 0 / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.614, allocations: 101.5 kB / 1.149 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6142, allocations: 55.91 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.6161, allocations: 1.943 MB / 1.151 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.6164, allocations: 31.73 kB / 1.151 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.6164, allocations: 12.09 kB / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-06/0.6165, allocations: 8 kB / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004911/0.6169, allocations: 240.5 kB / 1.151 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.617, allocations: 7.906 kB / 1.151 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.6172, allocations: 73.11 kB / 1.152 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.6175, allocations: 59.91 kB / 1.152 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.619, allocations: 1.406 MB / 1.153 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.6192, allocations: 27.94 kB / 1.153 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.6192, allocations: 8 kB / 1.153 GB, free: 9.27 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.6193, allocations: 112.9 kB / 1.153 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.6194, allocations: 23.72 kB / 1.153 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.6194, allocations: 24.5 kB / 1.153 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6195, allocations: 0 / 1.153 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6195, allocations: 3.984 kB / 1.153 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6195, allocations: 4 kB / 1.153 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.6205, allocations: 0.7208 MB / 1.154 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6205, allocations: 0 / 1.154 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.6207, allocations: 43.97 kB / 1.154 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/0.621, allocations: 97.62 kB / 1.154 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.621, allocations: 7.906 kB / 1.154 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.6233, allocations: 2.637 MB / 1.157 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6233, allocations: 12.12 kB / 1.157 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005539/0.6239, allocations: 393.9 kB / 1.157 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.624, allocations: 116.7 kB / 1.157 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.6241, allocations: 4 kB / 1.157 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6242, allocations: 8 kB / 1.157 GB, free: 4.723 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.6243, allocations: 15.97 kB / 1.157 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6243, allocations: 4 kB / 1.157 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.873e-05/0.6244, allocations: 144.4 kB / 1.157 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006033/0.625, allocations: 159.3 kB / 1.157 GB, free: 4.406 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.6252, allocations: 99.19 kB / 1.157 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6266, allocations: 0.5663 MB / 1.158 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6266, allocations: 0 / 1.158 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.6272, allocations: 335.6 kB / 1.158 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.6275, allocations: 49.64 kB / 1.158 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.6284, allocations: 411 kB / 1.159 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.6288, allocations: 0.8354 MB / 1.16 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of SimCode: time 3.4e-07/0.6288, allocations: 0 / 1.16 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of Templates: time 0.008089/0.6369, allocations: 4.661 MB / 1.164 GB, free: 13.46 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)