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.319/2.319, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001527/0.001527, allocations: 179.3 kB / 498.1 MB, free: 5.75 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.75/1.75, allocations: 223.2 MB / 0.7948 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 96.33 kB / 0.9346 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 7.375 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3882, allocations: 142.3 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9848/1.373, allocations: 201.4 MB / 1.42 GB, free: 179 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/1.374, allocations: 97.08 kB / 1.42 GB, free: 179 MB / 0.9011 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.4935/1.867, allocations: 221.4 MB / 1.636 GB, free: 3.238 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.895e-06/1.867, allocations: 0 / 1.636 GB, free: 3.238 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005647/1.868, allocations: 83.86 kB / 1.636 GB, free: 3.156 MB / 0.9323 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.01713/1.885, allocations: 4.209 MB / 1.64 GB, free: 14.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.885, allocations: 8.031 kB / 1.64 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.903, allocations: 3.229 MB / 1.643 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.913, allocations: 2.577 MB / 1.646 GB, free: 8.941 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005775/1.914, allocations: 473.7 kB / 1.646 GB, free: 8.414 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.915, allocations: 235.9 kB / 1.646 GB, free: 8.184 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/1.932, allocations: 4.805 MB / 1.651 GB, free: 3.234 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/1.932, allocations: 0 / 1.651 GB, free: 3.234 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/1.934, allocations: 116 kB / 1.651 GB, free: 3.121 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/1.934, allocations: 148.8 kB / 1.651 GB, free: 2.973 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.951, allocations: 5.296 MB / 1.657 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03577/1.986, allocations: 14.86 MB / 1.671 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/1.998, allocations: 3.631 MB / 1.675 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/1.998, allocations: 29.28 kB / 1.675 GB, free: 9.969 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005322/2.003, allocations: 1.913 MB / 1.676 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=163): time 5.651e-06/2.003, allocations: 0 / 1.676 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of matching and sorting (n=250): time 0.1382/2.142, allocations: 34.33 MB / 1.71 GB, free: 5.438 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005493/2.142, allocations: 0.8983 MB / 1.711 GB, free: 4.328 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/2.148, allocations: 1.985 MB / 1.713 GB, free: 2.336 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000665/2.148, allocations: 77.7 kB / 1.713 GB, free: 2.254 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/2.15, allocations: 1.434 MB / 1.714 GB, free: 0.8047 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/2.152, allocations: 0.8241 MB / 1.715 GB, free: 15.96 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/2.152, allocations: 48 kB / 1.715 GB, free: 15.92 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003165/2.153, allocations: 394.7 kB / 1.716 GB, free: 15.53 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005955/2.159, allocations: 2.116 MB / 1.718 GB, free: 13.41 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/2.165, allocations: 2.499 MB / 1.72 GB, free: 10.77 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/2.171, allocations: 2.312 MB / 1.722 GB, free: 8.406 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/2.171, allocations: 4 kB / 1.722 GB, free: 8.402 MB / 1.026 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0202/2.191, allocations: 6.903 MB / 1.729 GB, free: 1.406 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/2.191, allocations: 148.5 kB / 1.729 GB, free: 1.23 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/2.191, allocations: 8.297 kB / 1.729 GB, free: 1.223 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/2.202, allocations: 2.954 MB / 1.732 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/2.205, allocations: 0.5734 MB / 1.733 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04216/2.247, allocations: 18.15 MB / 1.75 GB, free: 11.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/2.253, allocations: 435.4 kB / 1.751 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000623/2.253, allocations: 87.97 kB / 1.751 GB, free: 10.79 MB / 1.057 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.002645/2.256, allocations: 0.7186 MB / 1.752 GB, free: 10.06 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/2.257, allocations: 344 kB / 1.752 GB, free: 9.723 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/2.258, allocations: 380.1 kB / 1.752 GB, free: 9.344 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/2.258, allocations: 24 kB / 1.752 GB, free: 9.32 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.089e-05/2.258, allocations: 12 kB / 1.752 GB, free: 9.309 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/2.258, allocations: 11.95 kB / 1.752 GB, free: 9.297 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/2.265, allocations: 3.651 MB / 1.756 GB, free: 5.586 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/2.265, allocations: 192 / 1.756 GB, free: 5.586 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/2.268, allocations: 0.5032 MB / 1.756 GB, free: 5.082 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/2.278, allocations: 2.867 MB / 1.759 GB, free: 2.203 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/2.278, allocations: 55.97 kB / 1.759 GB, free: 2.148 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/2.317, allocations: 17.97 MB / 1.777 GB, free: 15.91 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/2.317, allocations: 0 / 1.777 GB, free: 15.91 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/2.336, allocations: 6.548 MB / 1.783 GB, free: 9.328 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/2.338, allocations: 0.7117 MB / 1.784 GB, free: 8.594 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005991/2.339, allocations: 48 kB / 1.784 GB, free: 8.547 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/2.342, allocations: 419.6 kB / 1.784 GB, free: 8.137 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/2.344, allocations: 362.6 kB / 1.785 GB, free: 7.785 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/2.344, allocations: 71.97 kB / 1.785 GB, free: 7.715 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.002361/2.346, allocations: 1.521 MB / 1.786 GB, free: 6.195 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.4e-07/2.346, allocations: 3.938 kB / 1.786 GB, free: 6.191 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003028/2.349, allocations: 1.062 MB / 1.787 GB, free: 5.129 MB / 1.089 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.0004538/2.35, allocations: 199.3 kB / 1.787 GB, free: 4.93 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02276/2.373, allocations: 6.829 MB / 1.794 GB, free: 14 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/2.373, allocations: 0.75 kB / 1.794 GB, free: 14 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01637/2.389, allocations: 4.212 MB / 1.798 GB, free: 9.754 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00525/2.394, allocations: 1.011 MB / 1.799 GB, free: 8.75 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/2.413, allocations: 7.748 MB / 1.807 GB, free: 0.9766 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003419/2.416, allocations: 2.293 MB / 1.809 GB, free: 14.65 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.003844/2.42, allocations: 0.5175 MB / 1.81 GB, free: 14.13 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000969/2.421, allocations: 175.4 kB / 1.81 GB, free: 13.96 MB / 1.12 GB Notification: Performance of SimCode: time 1.032e-06/2.421, allocations: 0 / 1.81 GB, free: 13.96 MB / 1.12 GB Notification: Performance of Templates: time 0.6938/3.115, allocations: 71.25 MB / 1.879 GB, free: 250.1 MB / 1.12 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)