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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001489/0.001489, allocations: 185 kB / 377.1 MB, free: 1.52 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.977/1.977, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009786/0.0009786, allocations: 91.05 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003931, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9108/1.257, allocations: 190.8 MB / 1.175 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.258, allocations: 93.33 kB / 1.175 GB, free: 7.66 MB / 0.7448 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 - DAE generated: time 0.3684/1.626, allocations: 149.6 MB / 1.321 GB, free: 116 kB / 0.8855 GB Notification: Performance of FrontEnd: time 3.166e-06/1.626, allocations: 0 / 1.321 GB, free: 116 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002636/1.627, allocations: 79.92 kB / 1.321 GB, free: 36 kB / 0.8855 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.01224/1.639, allocations: 4.209 MB / 1.325 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.639, allocations: 16.02 kB / 1.325 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/1.656, allocations: 3.233 MB / 1.328 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/1.664, allocations: 2.576 MB / 1.331 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/1.665, allocations: 469.7 kB / 1.331 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009609/1.666, allocations: 236.7 kB / 1.331 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/1.677, allocations: 4.82 MB / 1.336 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/1.677, allocations: 7.984 kB / 1.336 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/1.677, allocations: 100 kB / 1.336 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/1.677, allocations: 144.8 kB / 1.336 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/1.691, allocations: 5.296 MB / 1.341 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03168/1.722, allocations: 14.87 MB / 1.356 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.733, allocations: 3.631 MB / 1.36 GB, free: 6.855 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/1.733, allocations: 29.23 kB / 1.36 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004615/1.738, allocations: 1.916 MB / 1.361 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 5.06e-06/1.738, allocations: 0 / 1.361 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.7033/2.441, allocations: 34.33 MB / 1.395 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000244/2.441, allocations: 0.9 MB / 1.396 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/2.444, allocations: 1.975 MB / 1.398 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004144/2.445, allocations: 83.06 kB / 1.398 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/2.446, allocations: 1.434 MB / 1.399 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008078/2.447, allocations: 0.8148 MB / 1.4 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/2.447, allocations: 51.16 kB / 1.4 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001176/2.447, allocations: 398.5 kB / 1.4 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004865/2.452, allocations: 2.106 MB / 1.403 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004939/2.457, allocations: 2.507 MB / 1.405 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004805/2.462, allocations: 2.302 MB / 1.407 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/2.462, allocations: 4 kB / 1.407 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01814/2.48, allocations: 6.909 MB / 1.414 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/2.48, allocations: 146.5 kB / 1.414 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/2.48, allocations: 6.969 kB / 1.414 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009865/2.49, allocations: 2.956 MB / 1.417 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/2.493, allocations: 0.5767 MB / 1.418 GB, free: 176.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0355/2.528, allocations: 18.14 MB / 1.435 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006352/2.535, allocations: 425.7 kB / 1.436 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007939/2.536, allocations: 90.94 kB / 1.436 GB, free: 173.2 MB / 0.9323 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 () * Number of clocked 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.003193/2.539, allocations: 0.7143 MB / 1.437 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/2.54, allocations: 338.6 kB / 1.437 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/2.542, allocations: 381.8 kB / 1.437 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/2.542, allocations: 22.72 kB / 1.437 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.62e-05/2.542, allocations: 12.17 kB / 1.437 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.73e-05/2.542, allocations: 12.03 kB / 1.437 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007833/2.55, allocations: 3.663 MB / 1.441 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.556e-05/2.55, allocations: 0 / 1.441 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/2.553, allocations: 0.4975 MB / 1.441 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01291/2.566, allocations: 2.867 MB / 1.444 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007373/2.567, allocations: 51.42 kB / 1.444 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04895/2.616, allocations: 17.99 MB / 1.462 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/2.616, allocations: 8.297 kB / 1.462 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/2.633, allocations: 6.547 MB / 1.468 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002729/2.636, allocations: 0.7039 MB / 1.469 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005645/2.637, allocations: 47.81 kB / 1.469 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003371/2.64, allocations: 424.2 kB / 1.469 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/2.641, allocations: 368.8 kB / 1.47 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/2.641, allocations: 71.72 kB / 1.47 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002453/2.644, allocations: 1.525 MB / 1.471 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.644, allocations: 0 / 1.471 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003138/2.647, allocations: 1.062 MB / 1.472 GB, free: 164.1 MB / 0.9323 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) * Number of clocked states: 0 () * 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.0004474/2.647, allocations: 189.1 kB / 1.472 GB, free: 164 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02151/2.669, allocations: 6.825 MB / 1.479 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/2.669, allocations: 3.906 kB / 1.479 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01517/2.684, allocations: 4.21 MB / 1.483 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/2.689, allocations: 1.009 MB / 1.484 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/2.702, allocations: 7.75 MB / 1.492 GB, free: 156.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/2.704, allocations: 2.297 MB / 1.494 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002582/2.706, allocations: 0.5108 MB / 1.494 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/2.707, allocations: 179.8 kB / 1.495 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.535e-06/2.707, allocations: 4 kB / 1.495 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.1001/2.807, allocations: 71.27 MB / 1.564 GB, free: 146.7 MB / 0.9323 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)