Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.156/2.156, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001943/0.001942, allocations: 178.8 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001958/0.001957, allocations: 84.44 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004575, allocations: 12.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9206/1.13, allocations: 164.4 MB / 1.06 GB, free: 66.14 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/1.13, allocations: 95.88 kB / 1.06 GB, free: 66.14 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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.1/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 7.0.1/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 7.0.1/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.07182/1.202, allocations: 17.94 MB / 1.078 GB, free: 64.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/1.202, allocations: 1.281 kB / 1.078 GB, free: 64.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.196e-05/1.202, allocations: 7.875 kB / 1.078 GB, free: 64.27 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001584/1.204, allocations: 0.662 MB / 1.078 GB, free: 63.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.204, allocations: 9.594 kB / 1.078 GB, free: 63.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/1.206, allocations: 155.9 kB / 1.078 GB, free: 63.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008686/1.207, allocations: 342.8 kB / 1.079 GB, free: 63.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.466e-05/1.207, allocations: 23.06 kB / 1.079 GB, free: 63.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/1.207, allocations: 38.59 kB / 1.079 GB, free: 63.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/1.208, allocations: 0.5208 MB / 1.079 GB, free: 63.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.208, allocations: 4.125 kB / 1.079 GB, free: 63.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/1.208, allocations: 19.44 kB / 1.079 GB, free: 63.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/1.208, allocations: 28.38 kB / 1.079 GB, free: 63.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/1.209, allocations: 386.2 kB / 1.08 GB, free: 63.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/1.213, allocations: 2.416 MB / 1.082 GB, free: 61.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/1.214, allocations: 263.2 kB / 1.082 GB, free: 61.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/1.214, allocations: 107.6 kB / 1.083 GB, free: 61.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/1.214, allocations: 2.281 kB / 1.083 GB, free: 61.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.214, allocations: 41.52 kB / 1.083 GB, free: 61.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.876e-06/1.214, allocations: 5.156 kB / 1.083 GB, free: 61.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0031/1.217, allocations: 1.037 MB / 1.084 GB, free: 61.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.217, allocations: 51.41 kB / 1.084 GB, free: 60.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/1.218, allocations: 294.1 kB / 1.084 GB, free: 60.83 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/1.218, allocations: 32.89 kB / 1.084 GB, free: 60.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.218, allocations: 227.3 kB / 1.084 GB, free: 60.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/1.218, allocations: 87.77 kB / 1.084 GB, free: 60.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/1.218, allocations: 7.188 kB / 1.084 GB, free: 60.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/1.218, allocations: 342.1 kB / 1.085 GB, free: 60.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/1.218, allocations: 100.8 kB / 1.085 GB, free: 60.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/1.219, allocations: 186.2 kB / 1.085 GB, free: 60.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/1.219, allocations: 132.6 kB / 1.085 GB, free: 60.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.219, allocations: 7.938 kB / 1.085 GB, free: 60.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001155/1.22, allocations: 436.8 kB / 1.085 GB, free: 60.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.22, allocations: 4.25 kB / 1.085 GB, free: 60.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.22, allocations: 7.906 kB / 1.085 GB, free: 60.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/1.221, allocations: 96.8 kB / 1.085 GB, free: 60.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/1.221, allocations: 60.25 kB / 1.086 GB, free: 60.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/1.225, allocations: 4.072 MB / 1.09 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/1.225, allocations: 9.594 kB / 1.09 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/1.225, allocations: 15.34 kB / 1.09 GB, free: 56.23 MB / 0.698 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.0003283/1.226, allocations: 186.7 kB / 1.09 GB, free: 56.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/1.226, allocations: 35.25 kB / 1.09 GB, free: 56.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/1.226, allocations: 36.72 kB / 1.09 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.226, allocations: 3.906 kB / 1.09 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.226, allocations: 0 / 1.09 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.226, allocations: 6.203 kB / 1.09 GB, free: 56.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/1.226, allocations: 394.3 kB / 1.09 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.226, allocations: 1.969 kB / 1.09 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/1.227, allocations: 35.45 kB / 1.09 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/1.227, allocations: 91.77 kB / 1.09 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/1.227, allocations: 3.75 kB / 1.09 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/1.23, allocations: 4.068 MB / 1.094 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.231, allocations: 0 / 1.094 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.232, allocations: 0.5508 MB / 1.095 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/1.232, allocations: 126.7 kB / 1.095 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/1.232, allocations: 9.484 kB / 1.095 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/1.232, allocations: 12.8 kB / 1.095 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/1.232, allocations: 13.67 kB / 1.095 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/1.233, allocations: 11.31 kB / 1.095 GB, free: 51.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000294/1.233, allocations: 205.6 kB / 1.095 GB, free: 51.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.233, allocations: 0 / 1.095 GB, free: 51.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006779/1.234, allocations: 100.6 kB / 1.095 GB, free: 51.67 MB / 0.698 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.0001678/1.234, allocations: 114.1 kB / 1.095 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.235, allocations: 0.6016 MB / 1.096 GB, free: 51.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.235, allocations: 0 / 1.096 GB, free: 51.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/1.235, allocations: 469.5 kB / 1.096 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/1.236, allocations: 73.27 kB / 1.096 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/1.238, allocations: 0.8667 MB / 1.097 GB, free: 50.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/1.239, allocations: 0.8254 MB / 1.098 GB, free: 49.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006793/1.24, allocations: 58.69 kB / 1.098 GB, free: 49.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.24, allocations: 23.16 kB / 1.098 GB, free: 49.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/1.24, allocations: 0 / 1.098 GB, free: 49.68 MB / 0.698 GB Notification: Performance of Templates: time 0.01726/1.257, allocations: 4.131 MB / 1.102 GB, free: 49.41 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)