Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 288.4 MB / 304.3 MB, free: 8.051 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.0009348/0.0009348, allocations: 181.2 kB / 373 MB, free: 10.16 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.533/1.533, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0008192/0.0008192, allocations: 94.28 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 12.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7624/0.9677, allocations: 165.9 MB / 1.143 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.968, allocations: 92.97 kB / 1.143 GB, free: 13.07 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.04022/1.008, allocations: 19.51 MB / 1.162 GB, free: 16.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/1.008, allocations: 0 / 1.162 GB, free: 16.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.116e-05/1.008, allocations: 7.938 kB / 1.162 GB, free: 16.29 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009408/1.009, allocations: 0.6143 MB / 1.162 GB, free: 15.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.009, allocations: 12.03 kB / 1.162 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007275/1.01, allocations: 92.48 kB / 1.163 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/1.01, allocations: 304.5 kB / 1.163 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/1.01, allocations: 28.08 kB / 1.163 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/1.01, allocations: 27.31 kB / 1.163 GB, free: 15.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/1.011, allocations: 489.4 kB / 1.163 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.011, allocations: 192 / 1.163 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/1.011, allocations: 18.42 kB / 1.163 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/1.011, allocations: 31.95 kB / 1.163 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/1.012, allocations: 384 kB / 1.164 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/1.014, allocations: 2.055 MB / 1.166 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/1.015, allocations: 223.2 kB / 1.166 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/1.015, allocations: 173.9 kB / 1.166 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/1.015, allocations: 7.984 kB / 1.166 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.015, allocations: 38.55 kB / 1.166 GB, free: 12.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/1.015, allocations: 0 / 1.166 GB, free: 12.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001098/1.017, allocations: 456 kB / 1.167 GB, free: 11.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.017, allocations: 55.41 kB / 1.167 GB, free: 11.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/1.017, allocations: 257.5 kB / 1.167 GB, free: 11.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/1.017, allocations: 33.44 kB / 1.167 GB, free: 11.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.017, allocations: 209 kB / 1.167 GB, free: 11.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/1.017, allocations: 61.91 kB / 1.167 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/1.017, allocations: 3.25 kB / 1.167 GB, free: 11.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.017, allocations: 341.4 kB / 1.168 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/1.017, allocations: 97.75 kB / 1.168 GB, free: 10.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/1.018, allocations: 216.2 kB / 1.168 GB, free: 10.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/1.018, allocations: 334.5 kB / 1.168 GB, free: 10.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.018, allocations: 4 kB / 1.168 GB, free: 10.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007046/1.019, allocations: 380.1 kB / 1.169 GB, free: 9.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.019, allocations: 189.2 kB / 1.169 GB, free: 9.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.019, allocations: 7.984 kB / 1.169 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/1.019, allocations: 39.77 kB / 1.169 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/1.02, allocations: 70.59 kB / 1.169 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.021, allocations: 1.344 MB / 1.17 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/1.021, allocations: 43.42 kB / 1.17 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.021, allocations: 19.91 kB / 1.17 GB, free: 7.992 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/1.021, allocations: 7.938 kB / 1.17 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005797/1.022, allocations: 292.7 kB / 1.171 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.022, allocations: 4 kB / 1.171 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/1.022, allocations: 11.94 kB / 1.171 GB, free: 7.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/1.022, allocations: 76.23 kB / 1.171 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.022, allocations: 7.938 kB / 1.171 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/1.022, allocations: 54.53 kB / 1.171 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/1.022, allocations: 12 kB / 1.171 GB, free: 7.605 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.023, allocations: 250.5 kB / 1.171 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/1.023, allocations: 23.72 kB / 1.171 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/1.023, allocations: 31.3 kB / 1.171 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.023, allocations: 4 kB / 1.171 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.023, allocations: 3.938 kB / 1.171 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.023, allocations: 0 / 1.171 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.024, allocations: 0.7745 MB / 1.172 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.024, allocations: 4 kB / 1.172 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.024, allocations: 39.97 kB / 1.172 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-05/1.024, allocations: 24.22 kB / 1.172 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/1.024, allocations: 11.44 kB / 1.172 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008646/1.025, allocations: 1.315 MB / 1.173 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.025, allocations: 0 / 1.173 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/1.026, allocations: 395.3 kB / 1.173 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.026, allocations: 120 kB / 1.174 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/1.026, allocations: 3.984 kB / 1.174 GB, free: 4.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/1.026, allocations: 27.36 kB / 1.174 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/1.026, allocations: 15.55 kB / 1.174 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.026, allocations: 4 kB / 1.174 GB, free: 4.594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000174/1.026, allocations: 186.3 kB / 1.174 GB, free: 4.438 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.026, allocations: 4 kB / 1.174 GB, free: 4.434 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005899/1.027, allocations: 145.6 kB / 1.174 GB, free: 4.305 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000144/1.027, allocations: 107.2 kB / 1.174 GB, free: 4.191 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.028, allocations: 0.5077 MB / 1.175 GB, free: 3.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.028, allocations: 0 / 1.175 GB, free: 3.746 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/1.029, allocations: 233.2 kB / 1.175 GB, free: 3.531 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/1.029, allocations: 67.12 kB / 1.175 GB, free: 3.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009609/1.03, allocations: 0.6636 MB / 1.175 GB, free: 2.828 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.03, allocations: 0.7941 MB / 1.176 GB, free: 2.016 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002442/1.031, allocations: 66.23 kB / 1.176 GB, free: 1.953 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/1.031, allocations: 26.94 kB / 1.176 GB, free: 1.93 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/1.031, allocations: 0 / 1.176 GB, free: 1.93 MB / 0.698 GB Notification: Performance of Templates: time 0.006543/1.037, allocations: 3.163 MB / 1.179 GB, free: 14.81 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)