Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [: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.317/1.317, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.0009188/0.000919, allocations: 185.3 kB / 366.3 MB, free: 1.914 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.009/1.009, allocations: 205.1 MB / 0.6256 GB, free: 7.379 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.0007489/0.0007489, allocations: 94.84 kB / 0.7396 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.013e-06, allocations: 4 kB / 0.859 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4026, allocations: 116.3 MB / 0.9726 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.576, allocations: 189.9 MB / 1.158 GB, free: 8.348 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5763, allocations: 85.08 kB / 1.158 GB, free: 8.266 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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);. Notification: Performance of FrontEnd: time 0.6232/1.2, allocations: 148.1 MB / 1.303 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002803/1.2, allocations: 79.55 kB / 1.303 GB, free: 164.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009492/1.209, allocations: 3.792 MB / 1.306 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/1.209, allocations: 7.781 kB / 1.306 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/1.225, allocations: 3.194 MB / 1.31 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006367/1.232, allocations: 2.573 MB / 1.312 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/1.232, allocations: 391.4 kB / 1.312 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007461/1.233, allocations: 140.6 kB / 1.313 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005608/1.238, allocations: 3.58 MB / 1.316 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/1.244, allocations: 3.684 MB / 1.32 GB, free: 161 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/1.244, allocations: 7.781 kB / 1.32 GB, free: 161 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/1.244, allocations: 7.75 kB / 1.32 GB, free: 161 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/1.245, allocations: 147.3 kB / 1.32 GB, free: 161 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/1.265, allocations: 14.54 MB / 1.334 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/1.266, allocations: 1.13 MB / 1.335 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/1.267, allocations: 1.106 MB / 1.336 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/1.267, allocations: 23.36 kB / 1.336 GB, free: 153.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/1.269, allocations: 1.367 MB / 1.338 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.326e-06/1.269, allocations: 3.031 kB / 1.338 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.01976/1.289, allocations: 8.688 MB / 1.346 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/1.289, allocations: 0.8975 MB / 1.347 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.291, allocations: 1.562 MB / 1.349 GB, free: 151 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/1.291, allocations: 35.12 kB / 1.349 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/1.291, allocations: 0.9557 MB / 1.349 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/1.292, allocations: 0.7886 MB / 1.35 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.292, allocations: 4 kB / 1.35 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.292, allocations: 408.5 kB / 1.351 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/1.294, allocations: 1.407 MB / 1.352 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/1.296, allocations: 1.777 MB / 1.354 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/1.298, allocations: 1.479 MB / 1.355 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.298, allocations: 3.594 kB / 1.355 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0101/1.308, allocations: 5.139 MB / 1.36 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.308, allocations: 9.094 kB / 1.36 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.308, allocations: 4.812 kB / 1.36 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008333/1.316, allocations: 2.759 MB / 1.363 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/1.319, allocations: 0.6233 MB / 1.364 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02719/1.346, allocations: 15.48 MB / 1.379 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/1.35, allocations: 426.9 kB / 1.379 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/1.351, allocations: 88.53 kB / 1.379 GB, free: 133.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0004794/1.351, allocations: 157.7 kB / 1.379 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/1.352, allocations: 313.1 kB / 1.38 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/1.352, allocations: 317 kB / 1.38 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.352, allocations: 24 kB / 1.38 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/1.352, allocations: 11.39 kB / 1.38 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.352, allocations: 15.95 kB / 1.38 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.356, allocations: 3.324 MB / 1.383 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.356, allocations: 0 / 1.383 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.358, allocations: 0.5591 MB / 1.384 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007859/1.366, allocations: 2.747 MB / 1.386 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/1.366, allocations: 15.97 kB / 1.386 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02693/1.393, allocations: 15.46 MB / 1.402 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.393, allocations: 3.938 kB / 1.402 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009714/1.403, allocations: 4.967 MB / 1.406 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.404, allocations: 0.6769 MB / 1.407 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005462/1.405, allocations: 8 kB / 1.407 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/1.408, allocations: 427.5 kB / 1.407 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006325/1.409, allocations: 273.5 kB / 1.408 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.409, allocations: 71.97 kB / 1.408 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0013/1.41, allocations: 1.161 MB / 1.409 GB, free: 104 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002141/1.412, allocations: 0.8892 MB / 1.41 GB, free: 103.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003292/1.413, allocations: 142.3 kB / 1.41 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01438/1.427, allocations: 4.936 MB / 1.415 GB, free: 97.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.427, allocations: 4 kB / 1.415 GB, free: 97.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01223/1.439, allocations: 3.173 MB / 1.418 GB, free: 94.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.443, allocations: 0.8368 MB / 1.419 GB, free: 93.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009238/1.452, allocations: 5.224 MB / 1.424 GB, free: 88.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/1.454, allocations: 2.393 MB / 1.426 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of SimCode: time 3.968e-06/1.454, allocations: 4 kB / 1.426 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.08091/1.535, allocations: 71.31 MB / 1.496 GB, free: 16.11 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)