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.546/1.546, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001148/0.001148, allocations: 184.8 kB / 366.7 MB, free: 1.625 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.56/1.56, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.0009021/0.0009023, allocations: 92.61 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.533e-05, allocations: 0 / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6211, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.8152, allocations: 166.1 MB / 1.135 GB, free: 44 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.8154, allocations: 88.03 kB / 1.136 GB, free: 15.95 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.04374/0.8592, allocations: 19.28 MB / 1.154 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8592, allocations: 0 / 1.154 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.8592, allocations: 12 kB / 1.154 GB, free: 12.56 MB / 0.7605 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.0009374/0.8602, allocations: 0.5865 MB / 1.155 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.8602, allocations: 12.03 kB / 1.155 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.861, allocations: 100.5 kB / 1.155 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.8613, allocations: 298.1 kB / 1.155 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.8614, allocations: 15.98 kB / 1.155 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.8614, allocations: 16 kB / 1.155 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004443/0.8619, allocations: 277.5 kB / 1.156 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.8625, allocations: 402 kB / 1.156 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.8625, allocations: 4 kB / 1.156 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.8625, allocations: 0 / 1.156 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.8626, allocations: 36.75 kB / 1.156 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.8646, allocations: 1.978 MB / 1.158 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.8651, allocations: 184.5 kB / 1.158 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.8653, allocations: 140.8 kB / 1.158 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.8654, allocations: 0 / 1.158 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.8654, allocations: 38.56 kB / 1.158 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 9.62e-07/0.8654, allocations: 0 / 1.158 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003809/0.8658, allocations: 187.3 kB / 1.159 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.8659, allocations: 55.41 kB / 1.159 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.866, allocations: 192.5 kB / 1.159 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.8661, allocations: 25.7 kB / 1.159 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.8662, allocations: 215.9 kB / 1.159 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.8663, allocations: 59.05 kB / 1.159 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.8663, allocations: 0 / 1.159 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8664, allocations: 338.8 kB / 1.159 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.8665, allocations: 64.55 kB / 1.159 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.8667, allocations: 169.7 kB / 1.16 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.8669, allocations: 94.09 kB / 1.16 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8669, allocations: 4 kB / 1.16 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004179/0.8673, allocations: 262.3 kB / 1.16 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005895/0.8679, allocations: 1.398 MB / 1.161 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8679, allocations: 4 kB / 1.161 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.8681, allocations: 24.84 kB / 1.161 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.8684, allocations: 75.89 kB / 1.161 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003738/0.8687, allocations: 0.5561 MB / 1.162 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.869, allocations: 35.73 kB / 1.162 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.869, allocations: 12 kB / 1.162 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.869, allocations: 5.656 kB / 1.162 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002991/0.8693, allocations: 193.6 kB / 1.162 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.8693, allocations: 4 kB / 1.162 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/0.8694, allocations: 4 kB / 1.162 GB, free: 4.008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.8696, allocations: 80.36 kB / 1.162 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8697, allocations: 8 kB / 1.162 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.8699, allocations: 35.72 kB / 1.162 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.8699, allocations: 12 kB / 1.162 GB, free: 3.875 MB / 0.7605 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 0.0001014/0.87, allocations: 124.8 kB / 1.162 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.8701, allocations: 19.77 kB / 1.162 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.8701, allocations: 29.95 kB / 1.162 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8701, allocations: 3.938 kB / 1.162 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8702, allocations: 0 / 1.162 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8702, allocations: 7 kB / 1.162 GB, free: 3.695 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.871, allocations: 0.6355 MB / 1.163 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.871, allocations: 0 / 1.163 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.8712, allocations: 47.91 kB / 1.163 GB, free: 2.949 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.74e-05/0.8713, allocations: 28.83 kB / 1.163 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.8713, allocations: 5.438 kB / 1.163 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009035/0.8722, allocations: 1.252 MB / 1.164 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8722, allocations: 6.719 kB / 1.164 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.8726, allocations: 327.2 kB / 1.165 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.8727, allocations: 116.8 kB / 1.165 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.8727, allocations: 11.97 kB / 1.165 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.8729, allocations: 15.98 kB / 1.165 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.873, allocations: 15.94 kB / 1.165 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.873, allocations: 8 kB / 1.165 GB, free: 1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001218/0.8731, allocations: 148.5 kB / 1.165 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8731, allocations: 0 / 1.165 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004987/0.8736, allocations: 135.4 kB / 1.165 GB, free: 0.7188 MB / 0.7605 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.0001304/0.8738, allocations: 107.2 kB / 1.165 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.8743, allocations: 281.5 kB / 1.166 GB, free: 340 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8743, allocations: 0.75 kB / 1.166 GB, free: 340 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.8745, allocations: 185.7 kB / 1.166 GB, free: 144 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.8749, allocations: 52.92 kB / 1.166 GB, free: 92 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.8755, allocations: 378.1 kB / 1.166 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.8759, allocations: 0.8042 MB / 1.167 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.8762, allocations: 79.16 kB / 1.167 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.8763, allocations: 19.44 kB / 1.167 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of SimCode: time 2.71e-07/0.8763, allocations: 4 kB / 1.167 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.005861/0.8821, allocations: 2.98 MB / 1.17 GB, free: 11.86 MB / 0.7761 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)