Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.518/2.518, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.001392/0.001391, allocations: 178.5 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.000922, allocations: 95.89 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004715, allocations: 14.56 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9369/1.147, allocations: 163.9 MB / 1.139 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.147, allocations: 95.12 kB / 1.139 GB, free: 14.41 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.03886/1.186, allocations: 11.4 MB / 1.151 GB, free: 25.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/1.186, allocations: 0 / 1.151 GB, free: 25.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.086e-05/1.186, allocations: 3.719 kB / 1.151 GB, free: 25.51 MB / 0.698 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.0008531/1.187, allocations: 487.1 kB / 1.151 GB, free: 25.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.187, allocations: 15.53 kB / 1.151 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009167/1.188, allocations: 90.89 kB / 1.151 GB, free: 25.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/1.188, allocations: 245 kB / 1.151 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/1.188, allocations: 12.44 kB / 1.151 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/1.188, allocations: 18.91 kB / 1.151 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/1.189, allocations: 295.6 kB / 1.152 GB, free: 24.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/1.189, allocations: 192 / 1.152 GB, free: 24.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/1.189, allocations: 13.78 kB / 1.152 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/1.189, allocations: 11.81 kB / 1.152 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/1.19, allocations: 197 kB / 1.152 GB, free: 24.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/1.192, allocations: 1.471 MB / 1.153 GB, free: 23.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/1.192, allocations: 172.8 kB / 1.153 GB, free: 23.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/1.192, allocations: 38.12 kB / 1.154 GB, free: 23.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/1.192, allocations: 0 / 1.154 GB, free: 23.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/1.192, allocations: 34.41 kB / 1.154 GB, free: 23.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/1.192, allocations: 0 / 1.154 GB, free: 23.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000643/1.193, allocations: 227.6 kB / 1.154 GB, free: 22.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.193, allocations: 55.41 kB / 1.154 GB, free: 22.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/1.193, allocations: 201.3 kB / 1.154 GB, free: 22.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.193, allocations: 29.45 kB / 1.154 GB, free: 22.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/1.193, allocations: 169.5 kB / 1.154 GB, free: 22.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/1.193, allocations: 23.28 kB / 1.154 GB, free: 22.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/1.193, allocations: 3.938 kB / 1.154 GB, free: 22.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.193, allocations: 329.9 kB / 1.155 GB, free: 22.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/1.194, allocations: 38.56 kB / 1.155 GB, free: 22.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/1.194, allocations: 99.67 kB / 1.155 GB, free: 22.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/1.194, allocations: 146.1 kB / 1.155 GB, free: 21.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.194, allocations: 0 / 1.155 GB, free: 21.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004531/1.194, allocations: 186.6 kB / 1.155 GB, free: 21.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.194, allocations: 8 kB / 1.155 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.194, allocations: 0 / 1.155 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/1.195, allocations: 28.47 kB / 1.155 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/1.195, allocations: 31.61 kB / 1.155 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/1.196, allocations: 1.314 MB / 1.156 GB, free: 20.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/1.196, allocations: 23.28 kB / 1.156 GB, free: 20.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.196, allocations: 8.156 kB / 1.156 GB, free: 20.32 MB / 0.698 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.00021/1.197, allocations: 155.9 kB / 1.157 GB, free: 20.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/1.197, allocations: 11.94 kB / 1.157 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/1.197, allocations: 24.02 kB / 1.157 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.197, allocations: 4 kB / 1.157 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.197, allocations: 0 / 1.157 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.197, allocations: 0 / 1.157 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/1.197, allocations: 453.2 kB / 1.157 GB, free: 19.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.197, allocations: 0 / 1.157 GB, free: 19.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/1.198, allocations: 8.062 kB / 1.157 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/1.198, allocations: 27.47 kB / 1.157 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/1.198, allocations: 0 / 1.157 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/1.199, allocations: 1.307 MB / 1.158 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.199, allocations: 3.938 kB / 1.158 GB, free: 18.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/1.199, allocations: 212.3 kB / 1.158 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/1.199, allocations: 100.5 kB / 1.159 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/1.199, allocations: 0 / 1.159 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/1.2, allocations: 11.38 kB / 1.159 GB, free: 17.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/1.2, allocations: 7.938 kB / 1.159 GB, free: 17.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/1.2, allocations: 7.922 kB / 1.159 GB, free: 17.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001784/1.2, allocations: 149.6 kB / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.2, allocations: 0 / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004512/1.2, allocations: 55.72 kB / 1.159 GB, free: 17.75 MB / 0.698 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.0001222/1.201, allocations: 99.23 kB / 1.159 GB, free: 17.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004568/1.201, allocations: 205.2 kB / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.201, allocations: 3.188 kB / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/1.201, allocations: 149.5 kB / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/1.202, allocations: 34.83 kB / 1.159 GB, free: 17.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/1.203, allocations: 425.5 kB / 1.16 GB, free: 16.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/1.203, allocations: 0.7507 MB / 1.16 GB, free: 16.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001681/1.203, allocations: 29.52 kB / 1.16 GB, free: 16.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/1.203, allocations: 15 kB / 1.16 GB, free: 16.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.203, allocations: 0 / 1.16 GB, free: 16.05 MB / 0.698 GB Notification: Performance of Templates: time 0.005845/1.209, allocations: 1.632 MB / 1.162 GB, free: 14.44 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)