Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.6 MB / 307.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.001229, allocations: 177 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 0.6367 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.2 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004803, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8396/1.182, allocations: 171.9 MB / 1.156 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.182, allocations: 93.97 kB / 1.156 GB, free: 9.531 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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 8.1.4-maint.8.1.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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.04299/1.225, allocations: 17.92 MB / 1.174 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/1.225, allocations: 0 / 1.174 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.609e-05/1.225, allocations: 11.98 kB / 1.174 GB, free: 8.527 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001561/1.227, allocations: 0.6485 MB / 1.174 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.227, allocations: 16.02 kB / 1.174 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/1.228, allocations: 159.3 kB / 1.175 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007385/1.229, allocations: 345.7 kB / 1.175 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/1.229, allocations: 32.98 kB / 1.175 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/1.229, allocations: 28 kB / 1.175 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/1.23, allocations: 0.5197 MB / 1.176 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.23, allocations: 0 / 1.176 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/1.23, allocations: 20.88 kB / 1.176 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/1.23, allocations: 24.64 kB / 1.176 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/1.231, allocations: 382.3 kB / 1.176 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/1.234, allocations: 2.411 MB / 1.178 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/1.234, allocations: 266.5 kB / 1.179 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.234, allocations: 0 / 1.179 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.234, allocations: 34.91 kB / 1.179 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/1.234, allocations: 0 / 1.179 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002219/1.237, allocations: 1.032 MB / 1.18 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/1.237, allocations: 55.41 kB / 1.18 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/1.237, allocations: 263.7 kB / 1.18 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/1.237, allocations: 29.7 kB / 1.18 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.237, allocations: 239.5 kB / 1.18 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.956e-05/1.237, allocations: 78.84 kB / 1.18 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/1.237, allocations: 8 kB / 1.18 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.237, allocations: 338.8 kB / 1.181 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/1.238, allocations: 108.5 kB / 1.181 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/1.238, allocations: 180.5 kB / 1.181 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/1.238, allocations: 129.1 kB / 1.181 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.238, allocations: 3.938 kB / 1.181 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007692/1.239, allocations: 440.1 kB / 1.181 GB, free: 284 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.239, allocations: 4 kB / 1.181 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.239, allocations: 13.17 kB / 1.181 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/1.239, allocations: 95 kB / 1.181 GB, free: 164 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.24, allocations: 59.91 kB / 1.182 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/1.243, allocations: 4.11 MB / 1.186 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/1.244, allocations: 8 kB / 1.186 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.244, allocations: 12 kB / 1.186 GB, free: 11.57 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002695/1.244, allocations: 181.7 kB / 1.186 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/1.244, allocations: 27.72 kB / 1.186 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.216e-05/1.244, allocations: 48 kB / 1.186 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.244, allocations: 0 / 1.186 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.244, allocations: 7.953 kB / 1.186 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.244, allocations: 3.984 kB / 1.186 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/1.245, allocations: 397.4 kB / 1.186 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.245, allocations: 0 / 1.186 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.245, allocations: 31.98 kB / 1.186 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/1.245, allocations: 94.44 kB / 1.186 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/1.245, allocations: 4 kB / 1.186 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/1.249, allocations: 4.102 MB / 1.19 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.249, allocations: 4.062 kB / 1.19 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/1.249, allocations: 0.5517 MB / 1.191 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/1.25, allocations: 126 kB / 1.191 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/1.25, allocations: 11.88 kB / 1.191 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/1.25, allocations: 12.06 kB / 1.191 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/1.25, allocations: 19.97 kB / 1.191 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.25, allocations: 11.95 kB / 1.191 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002387/1.25, allocations: 211.1 kB / 1.191 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.1e-07/1.25, allocations: 0 / 1.191 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005289/1.251, allocations: 100 kB / 1.191 GB, free: 5.152 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/1.251, allocations: 111.2 kB / 1.191 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008717/1.252, allocations: 0.6021 MB / 1.192 GB, free: 4.398 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.252, allocations: 4.062 kB / 1.192 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/1.252, allocations: 467.9 kB / 1.192 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/1.253, allocations: 73.98 kB / 1.193 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/1.254, allocations: 0.8445 MB / 1.193 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/1.255, allocations: 0.8458 MB / 1.194 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002414/1.255, allocations: 59.7 kB / 1.194 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/1.255, allocations: 23.44 kB / 1.194 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of SimCode: time 2.2e-07/1.255, allocations: 0 / 1.194 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of Templates: time 0.008559/1.264, allocations: 4.113 MB / 1.198 GB, free: 13.98 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)