Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 293 MB / 309 MB, free: 4.789 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.00101/0.00101, allocations: 180.5 kB / 378.7 MB, free: 0.9844 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.787/1.787, allocations: 205.4 MB / 0.6383 GB, free: 8.137 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.0007527/0.0007526, allocations: 90.61 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 15.98 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.282, allocations: 116.4 MB / 0.9904 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.739/1.021, allocations: 165.1 MB / 1.152 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.021, allocations: 95.22 kB / 1.152 GB, free: 13.96 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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.1-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.1-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.02523/1.047, allocations: 11.4 MB / 1.163 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.515e-06/1.047, allocations: 4 kB / 1.163 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.117e-05/1.047, allocations: 8 kB / 1.163 GB, free: 4.871 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007686/1.047, allocations: 488.5 kB / 1.163 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.048, allocations: 8.031 kB / 1.163 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006181/1.048, allocations: 85.66 kB / 1.163 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/1.048, allocations: 243.9 kB / 1.164 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/1.048, allocations: 16.75 kB / 1.164 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/1.049, allocations: 17.5 kB / 1.164 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/1.049, allocations: 291.8 kB / 1.164 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.049, allocations: 4.188 kB / 1.164 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/1.049, allocations: 11.92 kB / 1.164 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/1.049, allocations: 16.36 kB / 1.164 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/1.049, allocations: 196.7 kB / 1.164 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.051, allocations: 1.466 MB / 1.166 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/1.051, allocations: 179.6 kB / 1.166 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/1.051, allocations: 33.53 kB / 1.166 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/1.051, allocations: 0 / 1.166 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.051, allocations: 38.5 kB / 1.166 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/1.051, allocations: 0 / 1.166 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000429/1.051, allocations: 236 kB / 1.166 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/1.051, allocations: 51.41 kB / 1.166 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/1.052, allocations: 190.5 kB / 1.166 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/1.052, allocations: 29.7 kB / 1.166 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/1.052, allocations: 171.5 kB / 1.167 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/1.052, allocations: 27.64 kB / 1.167 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.052, allocations: 6.25 kB / 1.167 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/1.052, allocations: 326.8 kB / 1.167 GB, free: 428 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/1.052, allocations: 31.98 kB / 1.167 GB, free: 396 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/1.052, allocations: 101.2 kB / 1.167 GB, free: 264 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.052, allocations: 148.4 kB / 1.167 GB, free: 84 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.052, allocations: 0 / 1.167 GB, free: 84 kB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003041/1.052, allocations: 194.4 kB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.052, allocations: 6.594 kB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.052, allocations: 8.797 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/1.053, allocations: 20.84 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.053, allocations: 31.94 kB / 1.167 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/1.054, allocations: 1.32 MB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/1.054, allocations: 23.75 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/1.054, allocations: 5.438 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/1.054, allocations: 153.9 kB / 1.169 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/1.054, allocations: 11.91 kB / 1.169 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/1.054, allocations: 21.34 kB / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.054, allocations: 0 / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/1.054, allocations: 0 / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.054, allocations: 3.984 kB / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/1.055, allocations: 447.9 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.055, allocations: 0 / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/1.055, allocations: 15.98 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/1.055, allocations: 24.78 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.055, allocations: 0 / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009255/1.056, allocations: 1.309 MB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.056, allocations: 0.8125 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/1.056, allocations: 213.1 kB / 1.171 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/1.056, allocations: 104.8 kB / 1.171 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/1.056, allocations: 96 / 1.171 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.056, allocations: 11.94 kB / 1.171 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/1.056, allocations: 7.984 kB / 1.171 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/1.056, allocations: 5 kB / 1.171 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00012/1.056, allocations: 144.3 kB / 1.171 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.056, allocations: 0 / 1.171 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003334/1.057, allocations: 55.84 kB / 1.171 GB, free: 11.59 MB / 0.7448 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/1.057, allocations: 103.2 kB / 1.171 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004089/1.057, allocations: 203.3 kB / 1.171 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.057, allocations: 4 kB / 1.171 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/1.058, allocations: 147.1 kB / 1.172 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/1.058, allocations: 32.73 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/1.059, allocations: 425.5 kB / 1.172 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/1.059, allocations: 0.7478 MB / 1.173 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001132/1.059, allocations: 21.53 kB / 1.173 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/1.059, allocations: 19.44 kB / 1.173 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of SimCode: time 1.633e-06/1.059, allocations: 0 / 1.173 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.004515/1.064, allocations: 1.646 MB / 1.174 GB, free: 8.238 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)