Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 252 MB / 266.9 MB, free: 11.05 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.001119/0.001119, allocations: 183.5 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009503/0.0009503, allocations: 95.81 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003381, allocations: 11.22 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2285, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7307/0.9593, allocations: 183.4 MB / 1.079 GB, free: 52.97 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.9596, allocations: 91.89 kB / 1.079 GB, free: 52.97 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.3482/1.308, allocations: 148 MB / 1.224 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/1.308, allocations: 0 / 1.224 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004049/1.308, allocations: 79.22 kB / 1.224 GB, free: 12.26 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.01209/1.32, allocations: 3.946 MB / 1.228 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.32, allocations: 8.031 kB / 1.228 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/1.337, allocations: 3.225 MB / 1.231 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007286/1.345, allocations: 2.307 MB / 1.233 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/1.345, allocations: 184.8 kB / 1.233 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/1.346, allocations: 231.7 kB / 1.234 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/1.358, allocations: 4.693 MB / 1.238 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/1.359, allocations: 0 / 1.238 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/1.359, allocations: 111.2 kB / 1.238 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/1.359, allocations: 152.8 kB / 1.238 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/1.373, allocations: 5.214 MB / 1.244 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02393/1.397, allocations: 14.38 MB / 1.258 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.407, allocations: 3.774 MB / 1.261 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.407, allocations: 28.88 kB / 1.261 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003799/1.411, allocations: 1.814 MB / 1.263 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 3.447e-06/1.411, allocations: 0 / 1.263 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.1207/1.532, allocations: 33.52 MB / 1.296 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003794/1.532, allocations: 0.8944 MB / 1.297 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/1.535, allocations: 1.981 MB / 1.299 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/1.535, allocations: 81.69 kB / 1.299 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.537, allocations: 1.434 MB / 1.3 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/1.537, allocations: 0.8115 MB / 1.301 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/1.538, allocations: 52 kB / 1.301 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.538, allocations: 394.7 kB / 1.301 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/1.542, allocations: 1.925 MB / 1.303 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/1.548, allocations: 2.312 MB / 1.305 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/1.552, allocations: 2.149 MB / 1.308 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.552, allocations: 0 / 1.308 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01496/1.567, allocations: 6.13 MB / 1.313 GB, free: 14.42 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009113/1.568, allocations: 2.458 MB / 1.316 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.568, allocations: 4 kB / 1.316 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/1.574, allocations: 1.797 MB / 1.318 GB, free: 9.875 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.577, allocations: 0.5968 MB / 1.318 GB, free: 9.277 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/1.592, allocations: 9.505 MB / 1.328 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/1.596, allocations: 411.7 kB / 1.328 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.597, allocations: 96.06 kB / 1.328 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.597, allocations: 11.88 kB / 1.328 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01406/1.611, allocations: 5.726 MB / 1.334 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/1.611, allocations: 8 kB / 1.334 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004974/1.616, allocations: 1.798 MB / 1.335 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/1.619, allocations: 0.6124 MB / 1.336 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/1.639, allocations: 14.02 MB / 1.35 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/1.644, allocations: 411.5 kB / 1.35 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/1.644, allocations: 87.97 kB / 1.35 GB, free: 8.105 MB / 0.8542 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001789/1.646, allocations: 0.7922 MB / 1.351 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/1.646, allocations: 332.1 kB / 1.351 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008779/1.647, allocations: 392.1 kB / 1.352 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.647, allocations: 31.94 kB / 1.352 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.815e-05/1.647, allocations: 8 kB / 1.352 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.647, allocations: 11.95 kB / 1.352 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/1.652, allocations: 3.19 MB / 1.355 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.652, allocations: 0 / 1.355 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/1.655, allocations: 0.5189 MB / 1.355 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005775/1.66, allocations: 1.691 MB / 1.357 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/1.661, allocations: 51.97 kB / 1.357 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/1.682, allocations: 14.56 MB / 1.371 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.682, allocations: 4 kB / 1.371 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.696, allocations: 5.76 MB / 1.377 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.698, allocations: 0.6649 MB / 1.377 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/1.698, allocations: 44 kB / 1.378 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.701, allocations: 411.5 kB / 1.378 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000832/1.702, allocations: 306.6 kB / 1.378 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.702, allocations: 75.91 kB / 1.378 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002374/1.705, allocations: 1.517 MB / 1.38 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/1.705, allocations: 0 / 1.38 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004368/1.709, allocations: 1.594 MB / 1.381 GB, free: 7.836 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004313/1.71, allocations: 187.8 kB / 1.381 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.3505/2.06, allocations: 9.694 MB / 1.391 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.06, allocations: 2.75 kB / 1.391 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007771/2.068, allocations: 3.497 MB / 1.394 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007111/2.075, allocations: 1.012 MB / 1.395 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/2.092, allocations: 7.56 MB / 1.403 GB, free: 229 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/2.094, allocations: 2.324 MB / 1.405 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003604/2.098, allocations: 0.6413 MB / 1.406 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/2.099, allocations: 182.3 kB / 1.406 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/2.099, allocations: 0 / 1.406 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.09815/2.197, allocations: 72.51 MB / 1.477 GB, free: 225.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)