Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.3 MB / 261.9 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 178.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008208/0.0008211, allocations: 86.42 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.932e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.182, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6964/0.8785, allocations: 183.4 MB / 1.071 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.8788, allocations: 87.69 kB / 1.071 GB, free: 2.262 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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);. Notification: Performance of FrontEnd - DAE generated: time 0.3597/1.239, allocations: 149.1 MB / 1.217 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.303e-06/1.239, allocations: 0 / 1.217 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000226/1.239, allocations: 79.92 kB / 1.217 GB, free: 0.6484 MB / 0.823 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.009648/1.249, allocations: 3.695 MB / 1.22 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.249, allocations: 12.02 kB / 1.22 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/1.266, allocations: 3.202 MB / 1.223 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007886/1.274, allocations: 2.561 MB / 1.226 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/1.275, allocations: 470.4 kB / 1.226 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/1.276, allocations: 232 kB / 1.227 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00781/1.284, allocations: 3.936 MB / 1.23 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/1.284, allocations: 0 / 1.23 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/1.284, allocations: 116 kB / 1.231 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/1.284, allocations: 144.8 kB / 1.231 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006759/1.291, allocations: 3.592 MB / 1.234 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/1.318, allocations: 14.85 MB / 1.249 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00572/1.323, allocations: 2.682 MB / 1.251 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/1.325, allocations: 1.108 MB / 1.252 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/1.325, allocations: 25.3 kB / 1.252 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/1.327, allocations: 1.435 MB / 1.254 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.527e-06/1.327, allocations: 0 / 1.254 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.6125/1.94, allocations: 29.55 MB / 1.283 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/1.94, allocations: 0.8982 MB / 1.284 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/1.944, allocations: 1.948 MB / 1.285 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005258/1.944, allocations: 79.78 kB / 1.286 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.946, allocations: 1.433 MB / 1.287 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008268/1.946, allocations: 0.8293 MB / 1.288 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.947, allocations: 48.16 kB / 1.288 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.947, allocations: 391.5 kB / 1.288 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/1.949, allocations: 1.414 MB / 1.29 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/1.951, allocations: 1.792 MB / 1.291 GB, free: 221 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/1.954, allocations: 1.622 MB / 1.293 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/1.954, allocations: 2.219 kB / 1.293 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01269/1.966, allocations: 5.479 MB / 1.298 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.813e-05/1.967, allocations: 147.9 kB / 1.298 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.967, allocations: 8.734 kB / 1.298 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008972/1.976, allocations: 2.883 MB / 1.301 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/1.979, allocations: 0.5776 MB / 1.302 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03259/2.011, allocations: 16.96 MB / 1.318 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/2.016, allocations: 430.6 kB / 1.319 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007446/2.017, allocations: 89.17 kB / 1.319 GB, free: 217 MB / 0.8698 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.00104/2.018, allocations: 257.4 kB / 1.319 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/2.019, allocations: 334.7 kB / 1.319 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/2.021, allocations: 383.5 kB / 1.32 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/2.021, allocations: 22.19 kB / 1.32 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.212e-05/2.021, allocations: 10.69 kB / 1.32 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/2.021, allocations: 10.83 kB / 1.32 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006584/2.027, allocations: 3.654 MB / 1.323 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/2.027, allocations: 4 kB / 1.323 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/2.03, allocations: 0.5063 MB / 1.324 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008789/2.039, allocations: 2.796 MB / 1.327 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004672/2.039, allocations: 53.34 kB / 1.327 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03223/2.072, allocations: 16.8 MB / 1.343 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.072, allocations: 0 / 1.343 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/2.085, allocations: 5.126 MB / 1.348 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/2.088, allocations: 0.7072 MB / 1.349 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/2.089, allocations: 50.62 kB / 1.349 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004441/2.093, allocations: 423.5 kB / 1.349 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/2.095, allocations: 370.7 kB / 1.35 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003555/2.095, allocations: 68.73 kB / 1.35 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003195/2.099, allocations: 1.492 MB / 1.351 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/2.099, allocations: 0 / 1.351 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004452/2.103, allocations: 1.063 MB / 1.352 GB, free: 205.1 MB / 0.8698 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.0006034/2.104, allocations: 184.8 kB / 1.352 GB, free: 205 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01656/2.12, allocations: 5.393 MB / 1.358 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/2.12, allocations: 5 kB / 1.358 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/2.134, allocations: 3.468 MB / 1.361 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/2.141, allocations: 1.008 MB / 1.362 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/2.153, allocations: 5.029 MB / 1.367 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/2.156, allocations: 2.301 MB / 1.369 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003563/2.16, allocations: 0.5103 MB / 1.37 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/2.161, allocations: 175.5 kB / 1.37 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/2.161, allocations: 1.812 kB / 1.37 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.1043/2.265, allocations: 71.3 MB / 1.439 GB, free: 152.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)