Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001114/0.001114, allocations: 180.4 kB / 371.6 MB, free: 3.391 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.637/1.637, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008819/0.000882, allocations: 96.17 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.807e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3521, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8776/1.23, allocations: 166.8 MB / 1.143 GB, free: 24.8 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.23, allocations: 91.52 kB / 1.143 GB, free: 24.77 MB / 0.7448 GB [/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/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.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.04522/1.275, allocations: 19.35 MB / 1.162 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.695e-06/1.275, allocations: 0 / 1.162 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.275, allocations: 8 kB / 1.162 GB, free: 14.85 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008761/1.276, allocations: 0.5906 MB / 1.162 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.276, allocations: 8.031 kB / 1.162 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007459/1.277, allocations: 96.98 kB / 1.162 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/1.277, allocations: 298.9 kB / 1.163 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.277, allocations: 23.58 kB / 1.163 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/1.277, allocations: 23 kB / 1.163 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/1.278, allocations: 446.2 kB / 1.163 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.278, allocations: 4 kB / 1.163 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/1.278, allocations: 19.77 kB / 1.163 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/1.278, allocations: 30.81 kB / 1.163 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/1.279, allocations: 314.3 kB / 1.163 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/1.281, allocations: 2.048 MB / 1.165 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/1.281, allocations: 196.1 kB / 1.166 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/1.281, allocations: 136.9 kB / 1.166 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/1.281, allocations: 9.25 kB / 1.166 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/1.281, allocations: 37.62 kB / 1.166 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/1.281, allocations: 0 / 1.166 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0004103/1.282, allocations: 196.9 kB / 1.166 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/1.282, allocations: 59.31 kB / 1.166 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/1.282, allocations: 226.4 kB / 1.166 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.282, allocations: 37.39 kB / 1.166 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/1.282, allocations: 204.7 kB / 1.166 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/1.282, allocations: 67.42 kB / 1.167 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/1.282, allocations: 7.312 kB / 1.167 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/1.282, allocations: 335.7 kB / 1.167 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.282, allocations: 64.83 kB / 1.167 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.282, allocations: 186.2 kB / 1.167 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/1.283, allocations: 91.77 kB / 1.167 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.283, allocations: 0 / 1.167 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004205/1.283, allocations: 304.8 kB / 1.167 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002495/1.283, allocations: 1.397 MB / 1.169 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.283, allocations: 4 kB / 1.169 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/1.283, allocations: 33.39 kB / 1.169 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/1.284, allocations: 75.97 kB / 1.169 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002913/1.284, allocations: 0.5478 MB / 1.169 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/1.284, allocations: 48.16 kB / 1.17 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/1.284, allocations: 12 kB / 1.17 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/1.284, allocations: 7.938 kB / 1.17 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003048/1.285, allocations: 224.7 kB / 1.17 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/1.285, allocations: 4 kB / 1.17 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/1.285, allocations: 4 kB / 1.17 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/1.285, allocations: 80.8 kB / 1.17 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.285, allocations: 8.375 kB / 1.17 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/1.285, allocations: 48.98 kB / 1.17 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/1.285, allocations: 15.5 kB / 1.17 GB, free: 7.312 MB / 0.7448 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 () * 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 7.633e-05/1.285, allocations: 125.6 kB / 1.17 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/1.285, allocations: 23.72 kB / 1.17 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/1.285, allocations: 35.17 kB / 1.17 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.285, allocations: 4 kB / 1.17 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.285, allocations: 0 / 1.17 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.285, allocations: 5.312 kB / 1.17 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/1.286, allocations: 0.7026 MB / 1.171 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.286, allocations: 0 / 1.171 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/1.286, allocations: 48.16 kB / 1.171 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/1.287, allocations: 28.5 kB / 1.171 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/1.287, allocations: 3.125 kB / 1.171 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006894/1.287, allocations: 1.317 MB / 1.172 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.287, allocations: 5.266 kB / 1.172 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/1.288, allocations: 349.2 kB / 1.172 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/1.288, allocations: 122.8 kB / 1.173 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/1.288, allocations: 0 / 1.173 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/1.288, allocations: 27.09 kB / 1.173 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/1.288, allocations: 16.39 kB / 1.173 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.288, allocations: 12.08 kB / 1.173 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001435/1.288, allocations: 181.8 kB / 1.173 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/1.288, allocations: 0 / 1.173 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004816/1.289, allocations: 145.8 kB / 1.173 GB, free: 4.387 MB / 0.7448 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 () * 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.000132/1.289, allocations: 108.8 kB / 1.173 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004994/1.289, allocations: 307 kB / 1.173 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.289, allocations: 0 / 1.173 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.29, allocations: 198.5 kB / 1.174 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/1.29, allocations: 61.48 kB / 1.174 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/1.291, allocations: 382.7 kB / 1.174 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.291, allocations: 0.8087 MB / 1.175 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000269/1.291, allocations: 80.8 kB / 1.175 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/1.291, allocations: 22.81 kB / 1.175 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.291, allocations: 4 kB / 1.175 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.006293/1.297, allocations: 3.306 MB / 1.178 GB, free: 15.83 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)