Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 179.2 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.426/2.426, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009971/0.0009968, allocations: 89.78 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004725, allocations: 11.56 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.944/1.165, allocations: 183.3 MB / 1.078 GB, free: 54.49 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/1.165, allocations: 98.78 kB / 1.079 GB, free: 54.49 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.6191/1.784, allocations: 149.3 MB / 1.224 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.597e-06/1.785, allocations: 0 / 1.224 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005237/1.785, allocations: 79.22 kB / 1.224 GB, free: 13.04 MB / 0.7292 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.02043/1.806, allocations: 4.21 MB / 1.229 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/1.806, allocations: 8.031 kB / 1.229 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03043/1.836, allocations: 3.238 MB / 1.232 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/1.849, allocations: 2.58 MB / 1.234 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007355/1.85, allocations: 462.1 kB / 1.235 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/1.852, allocations: 236.3 kB / 1.235 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/1.876, allocations: 4.837 MB / 1.24 GB, free: 13.19 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/1.876, allocations: 3.938 kB / 1.24 GB, free: 13.18 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00142/1.877, allocations: 107.4 kB / 1.24 GB, free: 13.09 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/1.878, allocations: 152.8 kB / 1.24 GB, free: 12.93 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/1.906, allocations: 5.3 MB / 1.245 GB, free: 7.617 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04536/1.952, allocations: 14.86 MB / 1.26 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/1.972, allocations: 3.642 MB / 1.263 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008043/1.98, allocations: 1.596 MB / 1.265 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/1.981, allocations: 20.98 kB / 1.265 GB, free: 2.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00901/1.99, allocations: 1.924 MB / 1.267 GB, free: 428 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 6.402e-06/1.99, allocations: 0 / 1.267 GB, free: 428 kB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.3157/2.306, allocations: 34.34 MB / 1.3 GB, free: 13.88 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005653/2.306, allocations: 0.8944 MB / 1.301 GB, free: 12.78 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006299/2.313, allocations: 2.292 MB / 1.303 GB, free: 10.47 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.0008558/2.313, allocations: 77.7 kB / 1.303 GB, free: 10.39 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.002529/2.316, allocations: 1.434 MB / 1.305 GB, free: 8.945 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/2.318, allocations: 0.8258 MB / 1.305 GB, free: 8.129 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/2.318, allocations: 48 kB / 1.306 GB, free: 8.082 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.000321/2.319, allocations: 394.6 kB / 1.306 GB, free: 7.691 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01126/2.33, allocations: 2.112 MB / 1.308 GB, free: 5.574 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/2.342, allocations: 2.515 MB / 1.31 GB, free: 2.922 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/2.354, allocations: 2.312 MB / 1.313 GB, free: 0.5586 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/2.354, allocations: 4 kB / 1.313 GB, free: 0.5547 MB / 0.8074 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03869/2.392, allocations: 6.91 MB / 1.319 GB, free: 9.555 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/2.393, allocations: 149.9 kB / 1.32 GB, free: 9.379 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/2.393, allocations: 4.344 kB / 1.32 GB, free: 9.375 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01977/2.412, allocations: 2.954 MB / 1.322 GB, free: 6.414 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/2.418, allocations: 0.5773 MB / 1.323 GB, free: 5.836 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07567/2.494, allocations: 17.33 MB / 1.34 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008292/2.502, allocations: 431.5 kB / 1.34 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009049/2.503, allocations: 87.97 kB / 1.34 GB, free: 3.777 MB / 0.8386 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.003381/2.507, allocations: 0.7198 MB / 1.341 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/2.508, allocations: 336.1 kB / 1.341 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/2.509, allocations: 380.1 kB / 1.342 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/2.51, allocations: 24 kB / 1.342 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-05/2.51, allocations: 8 kB / 1.342 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/2.51, allocations: 15.89 kB / 1.342 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009732/2.519, allocations: 3.655 MB / 1.345 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/2.52, allocations: 0 / 1.345 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005293/2.525, allocations: 0.5071 MB / 1.346 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01949/2.544, allocations: 2.867 MB / 1.349 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007605/2.545, allocations: 51.97 kB / 1.349 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07471/2.62, allocations: 17.16 MB / 1.366 GB, free: 9.758 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.62, allocations: 0 / 1.366 GB, free: 9.758 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03713/2.657, allocations: 6.55 MB / 1.372 GB, free: 3.176 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003283/2.66, allocations: 0.7078 MB / 1.373 GB, free: 2.445 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.662, allocations: 51.92 kB / 1.373 GB, free: 2.395 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007573/2.669, allocations: 419.5 kB / 1.373 GB, free: 1.984 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002257/2.672, allocations: 366.5 kB / 1.373 GB, free: 1.621 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004903/2.672, allocations: 75.97 kB / 1.374 GB, free: 1.547 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.004265/2.677, allocations: 1.517 MB / 1.375 GB, free: 32 kB / 0.8699 GB Notification: Performance of sort global known variables: time 1.062e-06/2.677, allocations: 0 / 1.375 GB, free: 32 kB / 0.8699 GB Notification: Performance of remove unused functions: time 0.005656/2.682, allocations: 1.063 MB / 1.376 GB, free: 14.96 MB / 0.8855 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.001004/2.683, allocations: 181 kB / 1.376 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04629/2.73, allocations: 6.844 MB / 1.383 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.73, allocations: 0 / 1.383 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.03472/2.764, allocations: 4.209 MB / 1.387 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009478/2.774, allocations: 1.064 MB / 1.388 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6919/3.466, allocations: 7.744 MB / 1.396 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/3.469, allocations: 2.232 MB / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00434/3.473, allocations: 0.5101 MB / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/3.475, allocations: 176.1 kB / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.195e-06/3.475, allocations: 3.688 kB / 1.398 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.208/3.683, allocations: 71.33 MB / 1.468 GB, free: 226.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)