Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.576/2.576, allocations: 287.5 MB / 303.2 MB, free: 8.309 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.001412/0.001411, allocations: 185 kB / 371.8 MB, free: 10.82 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.111/2.111, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.000918/0.0009171, allocations: 96.27 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.000472, allocations: 14.72 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9359/1.151, allocations: 165.7 MB / 1.141 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.151, allocations: 95.33 kB / 1.141 GB, free: 13.52 MB / 0.6823 GB [/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/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/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.06868/1.22, allocations: 19.51 MB / 1.16 GB, free: 17.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.517e-06/1.22, allocations: 0 / 1.16 GB, free: 17.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.566e-05/1.22, allocations: 12.12 kB / 1.16 GB, free: 17.89 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.001344/1.221, allocations: 0.6167 MB / 1.161 GB, free: 17.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.222, allocations: 8.031 kB / 1.161 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/1.223, allocations: 96.48 kB / 1.161 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/1.223, allocations: 301 kB / 1.161 GB, free: 16.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/1.223, allocations: 27.33 kB / 1.161 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/1.223, allocations: 23.25 kB / 1.161 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.224, allocations: 492.4 kB / 1.162 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.224, allocations: 192 / 1.162 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/1.225, allocations: 18.61 kB / 1.162 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/1.225, allocations: 40.12 kB / 1.162 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.226, allocations: 380 kB / 1.162 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/1.229, allocations: 2.054 MB / 1.164 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/1.23, allocations: 231.7 kB / 1.164 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/1.231, allocations: 172.4 kB / 1.165 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/1.231, allocations: 3.984 kB / 1.165 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.231, allocations: 34.56 kB / 1.165 GB, free: 13.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.356e-06/1.231, allocations: 0 / 1.165 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001874/1.233, allocations: 452.3 kB / 1.165 GB, free: 13.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.233, allocations: 51.41 kB / 1.165 GB, free: 13.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/1.233, allocations: 269.9 kB / 1.165 GB, free: 12.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/1.233, allocations: 25.7 kB / 1.165 GB, free: 12.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/1.233, allocations: 212.4 kB / 1.166 GB, free: 12.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/1.233, allocations: 61.55 kB / 1.166 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/1.233, allocations: 7.125 kB / 1.166 GB, free: 12.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.234, allocations: 336.9 kB / 1.166 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/1.234, allocations: 98.55 kB / 1.166 GB, free: 12.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/1.235, allocations: 223.4 kB / 1.166 GB, free: 12.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.236, allocations: 335.5 kB / 1.167 GB, free: 11.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.236, allocations: 0 / 1.167 GB, free: 11.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001397/1.237, allocations: 376.3 kB / 1.167 GB, free: 11.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/1.237, allocations: 190.4 kB / 1.167 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.237, allocations: 0 / 1.167 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/1.238, allocations: 44.02 kB / 1.167 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/1.238, allocations: 83.08 kB / 1.167 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.24, allocations: 1.332 MB / 1.169 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/1.24, allocations: 43.05 kB / 1.169 GB, free: 9.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/1.241, allocations: 15.81 kB / 1.169 GB, free: 9.602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.241, allocations: 4 kB / 1.169 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/1.242, allocations: 301.6 kB / 1.169 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.242, allocations: 7.938 kB / 1.169 GB, free: 9.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/1.242, allocations: 4 kB / 1.169 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/1.242, allocations: 75.62 kB / 1.169 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/1.242, allocations: 11.98 kB / 1.169 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/1.243, allocations: 49.61 kB / 1.169 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.243, allocations: 12 kB / 1.169 GB, free: 9.215 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.0003543/1.243, allocations: 250.1 kB / 1.169 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/1.243, allocations: 27.72 kB / 1.169 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/1.243, allocations: 30.67 kB / 1.169 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.243, allocations: 4 kB / 1.169 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.243, allocations: 3.938 kB / 1.169 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.243, allocations: 0 / 1.169 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/1.245, allocations: 0.7731 MB / 1.17 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.245, allocations: 4.031 kB / 1.17 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/1.246, allocations: 43.91 kB / 1.17 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/1.246, allocations: 28.03 kB / 1.17 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.246, allocations: 7.547 kB / 1.17 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/1.247, allocations: 1.313 MB / 1.171 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.247, allocations: 4 kB / 1.171 GB, free: 6.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.248, allocations: 390.9 kB / 1.172 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/1.248, allocations: 118.3 kB / 1.172 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/1.248, allocations: 7.5 kB / 1.172 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/1.249, allocations: 27.36 kB / 1.172 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/1.249, allocations: 23.84 kB / 1.172 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/1.249, allocations: 7.312 kB / 1.172 GB, free: 6.191 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002593/1.249, allocations: 182.5 kB / 1.172 GB, free: 6.039 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.249, allocations: 0 / 1.172 GB, free: 6.039 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008413/1.25, allocations: 142.4 kB / 1.172 GB, free: 5.91 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.0001584/1.25, allocations: 106.9 kB / 1.172 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.252, allocations: 0.5029 MB / 1.173 GB, free: 5.355 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.252, allocations: 0 / 1.173 GB, free: 5.355 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/1.253, allocations: 231.2 kB / 1.173 GB, free: 5.145 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/1.253, allocations: 67.64 kB / 1.173 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/1.255, allocations: 0.6643 MB / 1.174 GB, free: 4.438 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/1.255, allocations: 0.7943 MB / 1.175 GB, free: 3.625 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004447/1.256, allocations: 78.19 kB / 1.175 GB, free: 3.551 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/1.256, allocations: 23.44 kB / 1.175 GB, free: 3.527 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.256, allocations: 0 / 1.175 GB, free: 3.527 MB / 0.698 GB Notification: Performance of Templates: time 0.01121/1.267, allocations: 3.116 MB / 1.178 GB, free: 468 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)