Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 176.9 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008831, allocations: 91.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.716e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9663/1.233, allocations: 200.7 MB / 1.402 GB, free: 8.203 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.233, allocations: 89.39 kB / 1.402 GB, free: 8.16 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28: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 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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.5202/1.753, allocations: 219.1 MB / 1.616 GB, free: 8.918 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.182e-06/1.753, allocations: 0 / 1.616 GB, free: 8.918 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0004299/1.754, allocations: 83.86 kB / 1.616 GB, free: 8.836 MB / 1.026 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.01251/1.766, allocations: 3.687 MB / 1.62 GB, free: 5.047 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.766, allocations: 8.562 kB / 1.62 GB, free: 5.039 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/1.784, allocations: 3.21 MB / 1.623 GB, free: 1.82 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008984/1.793, allocations: 2.549 MB / 1.625 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/1.794, allocations: 390.4 kB / 1.626 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/1.795, allocations: 136 kB / 1.626 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008234/1.803, allocations: 3.457 MB / 1.629 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008263/1.811, allocations: 3.587 MB / 1.633 GB, free: 7.434 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/1.811, allocations: 11.94 kB / 1.633 GB, free: 7.422 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/1.812, allocations: 4 kB / 1.633 GB, free: 7.418 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/1.812, allocations: 144.8 kB / 1.633 GB, free: 7.273 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/1.837, allocations: 14.33 MB / 1.647 GB, free: 7.793 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005374/1.842, allocations: 2.609 MB / 1.649 GB, free: 5.168 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/1.844, allocations: 1.065 MB / 1.65 GB, free: 4.105 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/1.844, allocations: 25.25 kB / 1.65 GB, free: 4.078 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/1.846, allocations: 1.371 MB / 1.652 GB, free: 2.641 MB / 1.057 GB Notification: Performance of pre-optimization done (n=163): time 6.032e-06/1.846, allocations: 8 kB / 1.652 GB, free: 2.633 MB / 1.057 GB Notification: Performance of matching and sorting (n=250): time 0.02251/1.869, allocations: 8.49 MB / 1.66 GB, free: 10.11 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004073/1.869, allocations: 0.9022 MB / 1.661 GB, free: 8.996 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/1.872, allocations: 1.564 MB / 1.662 GB, free: 7.422 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.000477/1.872, allocations: 29.7 kB / 1.663 GB, free: 7.387 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.874, allocations: 1.447 MB / 1.664 GB, free: 5.926 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00089/1.875, allocations: 0.785 MB / 1.665 GB, free: 5.129 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.875, allocations: 8 kB / 1.665 GB, free: 5.121 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.875, allocations: 390.7 kB / 1.665 GB, free: 4.734 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/1.877, allocations: 1.367 MB / 1.666 GB, free: 3.363 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.879, allocations: 1.731 MB / 1.668 GB, free: 1.5 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.881, allocations: 1.433 MB / 1.67 GB, free: 48 kB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.881, allocations: 0 / 1.67 GB, free: 48 kB / 1.073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01132/1.893, allocations: 5.077 MB / 1.674 GB, free: 10.91 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.893, allocations: 152.5 kB / 1.675 GB, free: 10.73 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.893, allocations: 4 kB / 1.675 GB, free: 10.73 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008876/1.902, allocations: 2.789 MB / 1.677 GB, free: 7.93 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/1.905, allocations: 0.5735 MB / 1.678 GB, free: 7.355 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03273/1.937, allocations: 16.4 MB / 1.694 GB, free: 6.699 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/1.942, allocations: 383.4 kB / 1.694 GB, free: 6.324 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/1.942, allocations: 87.97 kB / 1.694 GB, free: 6.238 MB / 1.104 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.0005618/1.943, allocations: 159.4 kB / 1.695 GB, free: 6.078 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/1.943, allocations: 304.4 kB / 1.695 GB, free: 5.777 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/1.944, allocations: 325.2 kB / 1.695 GB, free: 5.449 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/1.944, allocations: 24 kB / 1.695 GB, free: 5.426 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/1.944, allocations: 12 kB / 1.695 GB, free: 5.414 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/1.944, allocations: 15.95 kB / 1.695 GB, free: 5.398 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/1.949, allocations: 3.281 MB / 1.698 GB, free: 2.074 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.949, allocations: 0 / 1.698 GB, free: 2.074 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.951, allocations: 0.5071 MB / 1.699 GB, free: 1.566 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008675/1.96, allocations: 2.769 MB / 1.702 GB, free: 14.79 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.96, allocations: 11.97 kB / 1.702 GB, free: 14.78 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03251/1.993, allocations: 16.4 MB / 1.718 GB, free: 14.12 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.993, allocations: 4 kB / 1.718 GB, free: 14.12 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/2.004, allocations: 4.893 MB / 1.722 GB, free: 9.199 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/2.006, allocations: 0.673 MB / 1.723 GB, free: 8.504 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/2.006, allocations: 8 kB / 1.723 GB, free: 8.496 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/2.009, allocations: 379.5 kB / 1.723 GB, free: 8.125 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/2.01, allocations: 362.7 kB / 1.724 GB, free: 7.77 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/2.01, allocations: 83.91 kB / 1.724 GB, free: 7.688 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001674/2.012, allocations: 1.161 MB / 1.725 GB, free: 6.52 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.5e-07/2.012, allocations: 0 / 1.725 GB, free: 6.52 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002742/2.015, allocations: 0.9375 MB / 1.726 GB, free: 5.582 MB / 1.135 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.0004037/2.015, allocations: 147.9 kB / 1.726 GB, free: 5.43 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.016/2.031, allocations: 5.199 MB / 1.731 GB, free: 152 kB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.031, allocations: 0 / 1.731 GB, free: 152 kB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01406/2.045, allocations: 3.34 MB / 1.734 GB, free: 12.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/2.051, allocations: 0.8758 MB / 1.735 GB, free: 11.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/2.061, allocations: 4.899 MB / 1.74 GB, free: 6.977 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/2.063, allocations: 2.296 MB / 1.742 GB, free: 4.648 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002885/2.066, allocations: 479.4 kB / 1.743 GB, free: 4.176 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000671/2.067, allocations: 167.3 kB / 1.743 GB, free: 4.012 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/2.067, allocations: 4 kB / 1.743 GB, free: 4.008 MB / 1.151 GB Notification: Performance of Templates: time 0.8383/2.905, allocations: 65.4 MB / 1.807 GB, free: 277.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)