Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 390.5 MB / 398 MB, free: 10.95 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.001132/0.001132, allocations: 187 kB / 491.2 MB, free: 1.605 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.616/1.616, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008798/0.0008799, allocations: 91.77 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.759e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.489, allocations: 192.1 MB / 1.4 GB, free: 9.004 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/1.49, allocations: 92.69 kB / 1.4 GB, free: 8.957 MB / 0.823 GB [/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);. [/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.1196/1.609, allocations: 49.68 MB / 1.448 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.609, allocations: 0 / 1.448 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.34e-05/1.609, allocations: 27.92 kB / 1.449 GB, free: 15.93 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001909/1.611, allocations: 0.8984 MB / 1.449 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.611, allocations: 8.031 kB / 1.449 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/1.615, allocations: 0.6247 MB / 1.45 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.616, allocations: 0.5843 MB / 1.451 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/1.616, allocations: 20 kB / 1.451 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/1.616, allocations: 39.95 kB / 1.451 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/1.617, allocations: 0.6852 MB / 1.451 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.618, allocations: 0.7943 MB / 1.452 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.618, allocations: 0 / 1.452 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/1.619, allocations: 0 / 1.452 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/1.619, allocations: 40.8 kB / 1.452 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/1.623, allocations: 3.418 MB / 1.455 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007436/1.623, allocations: 382.8 kB / 1.456 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/1.624, allocations: 170.3 kB / 1.456 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/1.624, allocations: 4 kB / 1.456 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.624, allocations: 37.92 kB / 1.456 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/1.624, allocations: 0 / 1.456 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.002468/1.626, allocations: 1.123 MB / 1.457 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/1.626, allocations: 136.5 kB / 1.457 GB, free: 7.965 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/1.627, allocations: 383 kB / 1.458 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/1.627, allocations: 33.69 kB / 1.458 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/1.627, allocations: 365 kB / 1.458 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/1.627, allocations: 142.9 kB / 1.458 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/1.627, allocations: 0 / 1.458 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.627, allocations: 379.6 kB / 1.458 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/1.628, allocations: 169.6 kB / 1.459 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/1.628, allocations: 310.5 kB / 1.459 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/1.628, allocations: 217.2 kB / 1.459 GB, free: 6.363 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.628, allocations: 4 kB / 1.459 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001415/1.63, allocations: 0.7198 MB / 1.46 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005142/1.63, allocations: 1.222 MB / 1.461 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.63, allocations: 4 kB / 1.461 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/1.631, allocations: 235.5 kB / 1.461 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/1.632, allocations: 123.3 kB / 1.461 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/1.636, allocations: 5.742 MB / 1.467 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/1.637, allocations: 47.27 kB / 1.467 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/1.637, allocations: 19.23 kB / 1.467 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.637, allocations: 8.062 kB / 1.467 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/1.638, allocations: 1.015 MB / 1.468 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.638, allocations: 4.344 kB / 1.468 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/1.639, allocations: 132.8 kB / 1.468 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/1.639, allocations: 147.3 kB / 1.468 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/1.644, allocations: 7.514 MB / 1.476 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006546/1.645, allocations: 59.3 kB / 1.476 GB, free: 5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/1.645, allocations: 15.31 kB / 1.476 GB, free: 4.988 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002115/1.645, allocations: 132.7 kB / 1.476 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.645, allocations: 59.25 kB / 1.476 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/1.646, allocations: 69.97 kB / 1.476 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.646, allocations: 4 kB / 1.476 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.646, allocations: 0 / 1.476 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.646, allocations: 0 / 1.476 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/1.647, allocations: 0.5612 MB / 1.477 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.647, allocations: 0 / 1.477 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/1.647, allocations: 99.72 kB / 1.477 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007842/1.648, allocations: 237.1 kB / 1.477 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/1.648, allocations: 0 / 1.477 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/1.654, allocations: 8.006 MB / 1.485 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.654, allocations: 0 / 1.485 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/1.655, allocations: 0.7377 MB / 1.485 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003752/1.656, allocations: 174.7 kB / 1.486 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.656, allocations: 3.953 kB / 1.486 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/1.657, allocations: 47.95 kB / 1.486 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.657, allocations: 43.62 kB / 1.486 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/1.657, allocations: 11.5 kB / 1.486 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004004/1.657, allocations: 302 kB / 1.486 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/1.657, allocations: 0 / 1.486 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001336/1.658, allocations: 260 kB / 1.486 GB, free: 10.39 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003256/1.659, allocations: 115.2 kB / 1.486 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002584/1.661, allocations: 1.731 MB / 1.488 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.661, allocations: 0 / 1.488 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/1.662, allocations: 0.8756 MB / 1.489 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009666/1.663, allocations: 183.5 kB / 1.489 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/1.665, allocations: 0.8689 MB / 1.49 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/1.666, allocations: 0.9883 MB / 1.491 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007952/1.667, allocations: 164.9 kB / 1.491 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/1.667, allocations: 35.42 kB / 1.491 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of SimCode: time 1.243e-06/1.667, allocations: 0 / 1.491 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of Templates: time 0.03193/1.699, allocations: 11.45 MB / 1.502 GB, free: 10.42 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)