Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.266/2.266, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001417/0.001417, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0008631/0.0008631, allocations: 88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.889e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.909/1.163, allocations: 202.2 MB / 1.416 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.163, allocations: 93.61 kB / 1.416 GB, free: 2.832 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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.5096/1.673, allocations: 220.2 MB / 1.631 GB, free: 9.156 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.923e-06/1.673, allocations: 0 / 1.631 GB, free: 9.156 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0002791/1.673, allocations: 79.92 kB / 1.631 GB, free: 9.078 MB / 1.089 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.01096/1.684, allocations: 3.683 MB / 1.635 GB, free: 5.293 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.684, allocations: 8.031 kB / 1.635 GB, free: 5.285 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/1.702, allocations: 3.21 MB / 1.638 GB, free: 2.066 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008989/1.711, allocations: 2.562 MB / 1.641 GB, free: 15.43 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/1.711, allocations: 465.7 kB / 1.641 GB, free: 14.91 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/1.713, allocations: 239.9 kB / 1.641 GB, free: 14.68 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008074/1.721, allocations: 3.94 MB / 1.645 GB, free: 10.6 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/1.721, allocations: 7.938 kB / 1.645 GB, free: 10.59 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/1.721, allocations: 104 kB / 1.645 GB, free: 10.49 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/1.722, allocations: 148.8 kB / 1.645 GB, free: 10.34 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00695/1.729, allocations: 3.588 MB / 1.649 GB, free: 6.738 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/1.755, allocations: 14.86 MB / 1.663 GB, free: 6.699 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/1.761, allocations: 2.684 MB / 1.666 GB, free: 4.004 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/1.763, allocations: 1.108 MB / 1.667 GB, free: 2.895 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/1.763, allocations: 21.3 kB / 1.667 GB, free: 2.875 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002084/1.765, allocations: 1.435 MB / 1.669 GB, free: 1.375 MB / 1.12 GB Notification: Performance of pre-optimization done (n=163): time 4.228e-06/1.765, allocations: 0 / 1.669 GB, free: 1.375 MB / 1.12 GB Notification: Performance of matching and sorting (n=250): time 0.1154/1.88, allocations: 29.55 MB / 1.697 GB, free: 3.766 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004791/1.881, allocations: 0.9022 MB / 1.698 GB, free: 2.652 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/1.884, allocations: 1.955 MB / 1.7 GB, free: 0.6875 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005501/1.885, allocations: 77.7 kB / 1.7 GB, free: 0.6055 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.7771/2.662, allocations: 1.422 MB / 1.702 GB, free: 278 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/2.663, allocations: 0.8202 MB / 1.702 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/2.664, allocations: 46.41 kB / 1.702 GB, free: 277.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001867/2.664, allocations: 400.4 kB / 1.703 GB, free: 277.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/2.667, allocations: 1.407 MB / 1.704 GB, free: 277.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/2.67, allocations: 1.805 MB / 1.706 GB, free: 277.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/2.673, allocations: 1.617 MB / 1.708 GB, free: 276.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/2.673, allocations: 1.031 kB / 1.708 GB, free: 276.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01511/2.688, allocations: 5.478 MB / 1.713 GB, free: 276.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/2.688, allocations: 151.2 kB / 1.713 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/2.688, allocations: 5.406 kB / 1.713 GB, free: 276.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/2.698, allocations: 2.888 MB / 1.716 GB, free: 276.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/2.702, allocations: 0.5706 MB / 1.716 GB, free: 276.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03971/2.742, allocations: 16.97 MB / 1.733 GB, free: 273.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/2.747, allocations: 422.1 kB / 1.733 GB, free: 273.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004559/2.747, allocations: 87.02 kB / 1.734 GB, free: 273.4 MB / 1.151 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.0007207/2.748, allocations: 259.8 kB / 1.734 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/2.749, allocations: 334.8 kB / 1.734 GB, free: 273.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/2.75, allocations: 379.8 kB / 1.734 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/2.75, allocations: 23.62 kB / 1.734 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/2.75, allocations: 14.97 kB / 1.734 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/2.75, allocations: 13.59 kB / 1.734 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007359/2.757, allocations: 3.643 MB / 1.738 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/2.758, allocations: 7.109 kB / 1.738 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/2.761, allocations: 0.5028 MB / 1.739 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/2.771, allocations: 2.798 MB / 1.741 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006149/2.772, allocations: 52.05 kB / 1.741 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03711/2.809, allocations: 16.81 MB / 1.758 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.809, allocations: 7.297 kB / 1.758 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/2.821, allocations: 5.114 MB / 1.763 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002555/2.824, allocations: 0.7077 MB / 1.763 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008914/2.825, allocations: 48.77 kB / 1.763 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/2.828, allocations: 423.9 kB / 1.764 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/2.83, allocations: 367.4 kB / 1.764 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/2.83, allocations: 76.39 kB / 1.764 GB, free: 269.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002534/2.833, allocations: 1.488 MB / 1.766 GB, free: 269 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.71e-07/2.833, allocations: 0 / 1.766 GB, free: 269 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004386/2.837, allocations: 1.066 MB / 1.767 GB, free: 269 MB / 1.151 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.0005931/2.838, allocations: 184.3 kB / 1.767 GB, free: 268.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01647/2.854, allocations: 5.387 MB / 1.772 GB, free: 268.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/2.854, allocations: 3 kB / 1.772 GB, free: 268.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/2.868, allocations: 3.476 MB / 1.776 GB, free: 267.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006994/2.875, allocations: 1.01 MB / 1.777 GB, free: 267.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/2.886, allocations: 5.021 MB / 1.782 GB, free: 265.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/2.888, allocations: 2.303 MB / 1.784 GB, free: 264.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003125/2.891, allocations: 0.5106 MB / 1.784 GB, free: 264.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007725/2.891, allocations: 175.4 kB / 1.784 GB, free: 264.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/2.892, allocations: 0 / 1.784 GB, free: 264.6 MB / 1.151 GB Notification: Performance of Templates: time 0.1126/3.004, allocations: 71.29 MB / 1.854 GB, free: 261.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)