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.418/1.418, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 176.9 kB / 316.3 MB, free: 3.23 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.443/1.443, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008675/0.0008673, allocations: 96.48 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.682e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1845, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6842/0.8687, allocations: 183.6 MB / 1.065 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.869, allocations: 89.25 kB / 1.065 GB, free: 5.152 MB / 0.6823 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.3562/1.225, allocations: 146.5 MB / 1.208 GB, free: 10.05 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/1.225, allocations: 3.938 kB / 1.208 GB, free: 10.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000248/1.225, allocations: 75.98 kB / 1.208 GB, free: 9.977 MB / 0.823 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.007737/1.233, allocations: 3.432 MB / 1.211 GB, free: 6.445 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.233, allocations: 12.03 kB / 1.211 GB, free: 6.434 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/1.25, allocations: 3.198 MB / 1.214 GB, free: 3.227 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/1.256, allocations: 2.299 MB / 1.217 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/1.256, allocations: 76.69 kB / 1.217 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000449/1.256, allocations: 136 kB / 1.217 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006026/1.262, allocations: 3.383 MB / 1.22 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005852/1.268, allocations: 3.489 MB / 1.223 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/1.268, allocations: 0 / 1.223 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/1.269, allocations: 4 kB / 1.223 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/1.269, allocations: 144.8 kB / 1.224 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02093/1.29, allocations: 13.85 MB / 1.237 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/1.296, allocations: 2.753 MB / 1.24 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/1.297, allocations: 1.003 MB / 1.241 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/1.298, allocations: 33.27 kB / 1.241 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/1.299, allocations: 1.299 MB / 1.242 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.817e-06/1.299, allocations: 0 / 1.242 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.0169/1.316, allocations: 7.545 MB / 1.249 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003867/1.317, allocations: 0.9061 MB / 1.25 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/1.319, allocations: 1.56 MB / 1.252 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.319, allocations: 33.7 kB / 1.252 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.321, allocations: 1.455 MB / 1.253 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007126/1.321, allocations: 0.789 MB / 1.254 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.322, allocations: 3.938 kB / 1.254 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.322, allocations: 394.7 kB / 1.254 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/1.323, allocations: 1.203 MB / 1.256 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/1.325, allocations: 1.578 MB / 1.257 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.327, allocations: 1.292 MB / 1.258 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.327, allocations: 8 kB / 1.258 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.4664/1.794, allocations: 4.361 MB / 1.263 GB, free: 226 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004965/1.794, allocations: 2.418 MB / 1.265 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.794, allocations: 5.219 kB / 1.265 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006089/1.8, allocations: 1.603 MB / 1.267 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.804, allocations: 0.5933 MB / 1.267 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.818, allocations: 8.989 MB / 1.276 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005018/1.823, allocations: 369.3 kB / 1.276 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006378/1.823, allocations: 90.36 kB / 1.276 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.823, allocations: 3.75 kB / 1.276 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008221/1.832, allocations: 3.674 MB / 1.28 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.832, allocations: 6.969 kB / 1.28 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/1.835, allocations: 1.41 MB / 1.281 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/1.839, allocations: 0.6343 MB / 1.282 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/1.856, allocations: 11.77 MB / 1.293 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/1.86, allocations: 365 kB / 1.294 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/1.86, allocations: 89.95 kB / 1.294 GB, free: 218.9 MB / 0.8698 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 (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.0006126/1.861, allocations: 157.8 kB / 1.294 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/1.861, allocations: 303.9 kB / 1.294 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008542/1.862, allocations: 338.9 kB / 1.295 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/1.862, allocations: 23.84 kB / 1.295 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/1.862, allocations: 14.88 kB / 1.295 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/1.862, allocations: 13.09 kB / 1.295 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/1.866, allocations: 2.797 MB / 1.297 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.866, allocations: 0 / 1.297 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.869, allocations: 0.5218 MB / 1.298 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005316/1.874, allocations: 1.622 MB / 1.3 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003439/1.875, allocations: 16.5 kB / 1.3 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.893, allocations: 13.35 MB / 1.313 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.893, allocations: 0.8438 kB / 1.313 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/1.9, allocations: 4.184 MB / 1.317 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.902, allocations: 0.6362 MB / 1.317 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/1.903, allocations: 10.92 kB / 1.317 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/1.906, allocations: 373.5 kB / 1.318 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008408/1.906, allocations: 305.9 kB / 1.318 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.907, allocations: 72.48 kB / 1.318 GB, free: 215 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00158/1.908, allocations: 1.164 MB / 1.319 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.908, allocations: 0 / 1.319 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004324/1.913, allocations: 1.402 MB / 1.321 GB, free: 214.8 MB / 0.8698 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 (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.0003885/1.913, allocations: 144.9 kB / 1.321 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.925, allocations: 7.355 MB / 1.328 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.925, allocations: 0 / 1.328 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/1.93, allocations: 2.689 MB / 1.331 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/1.935, allocations: 0.8654 MB / 1.331 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/1.943, allocations: 4.774 MB / 1.336 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/1.945, allocations: 2.322 MB / 1.338 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0038/1.949, allocations: 0.7221 MB / 1.339 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/1.95, allocations: 141.2 kB / 1.339 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/1.95, allocations: 8.406 kB / 1.339 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.1002/2.05, allocations: 69.28 MB / 1.407 GB, free: 187.4 MB / 0.8698 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)