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.668/1.668, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.00134/0.00134, allocations: 193 kB / 377.1 MB, free: 1.535 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.065/2.065, allocations: 205.4 MB / 0.6367 GB, free: 8.609 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.0009687/0.0009686, allocations: 88.05 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.000391, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3057, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.729/1.035, allocations: 166.8 MB / 1.151 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/1.035, allocations: 94.62 kB / 1.151 GB, free: 13.4 MB / 0.7292 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.04502/1.08, allocations: 19.5 MB / 1.17 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.025e-06/1.08, allocations: 0 / 1.17 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.761e-05/1.08, allocations: 12 kB / 1.17 GB, free: 12.11 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.001135/1.081, allocations: 0.6133 MB / 1.171 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.081, allocations: 16.02 kB / 1.171 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007633/1.082, allocations: 95.55 kB / 1.171 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/1.083, allocations: 293.8 kB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/1.083, allocations: 24.64 kB / 1.171 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/1.083, allocations: 28 kB / 1.171 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009192/1.084, allocations: 485.8 kB / 1.172 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.084, allocations: 0 / 1.172 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/1.084, allocations: 15.98 kB / 1.172 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/1.084, allocations: 36.62 kB / 1.172 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007811/1.085, allocations: 386.2 kB / 1.172 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/1.087, allocations: 2.062 MB / 1.174 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/1.088, allocations: 226.6 kB / 1.175 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/1.088, allocations: 8 kB / 1.175 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/1.088, allocations: 30.56 kB / 1.175 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/1.088, allocations: 0 / 1.175 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.001139/1.089, allocations: 469.7 kB / 1.175 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/1.089, allocations: 55.41 kB / 1.175 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/1.09, allocations: 225.9 kB / 1.175 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/1.09, allocations: 29.7 kB / 1.175 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/1.09, allocations: 219.6 kB / 1.176 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/1.09, allocations: 63.09 kB / 1.176 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/1.09, allocations: 8 kB / 1.176 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.09, allocations: 338.8 kB / 1.176 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/1.09, allocations: 104.5 kB / 1.176 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/1.091, allocations: 214.7 kB / 1.176 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/1.091, allocations: 129.3 kB / 1.176 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/1.091, allocations: 4 kB / 1.176 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007743/1.092, allocations: 383.8 kB / 1.177 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007346/1.093, allocations: 1.312 MB / 1.178 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.093, allocations: 0 / 1.178 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/1.093, allocations: 36.84 kB / 1.178 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/1.093, allocations: 71.89 kB / 1.178 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004425/1.094, allocations: 0.5522 MB / 1.179 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/1.094, allocations: 51.75 kB / 1.179 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/1.094, allocations: 13.09 kB / 1.179 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.094, allocations: 4 kB / 1.179 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006173/1.095, allocations: 300.9 kB / 1.179 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.095, allocations: 8.062 kB / 1.179 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/1.095, allocations: 11.94 kB / 1.179 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/1.095, allocations: 71.89 kB / 1.179 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/1.095, allocations: 7.984 kB / 1.179 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/1.095, allocations: 47.67 kB / 1.179 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/1.095, allocations: 19.94 kB / 1.179 GB, free: 2.562 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0003007/1.095, allocations: 242.6 kB / 1.179 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/1.096, allocations: 27.67 kB / 1.179 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/1.096, allocations: 34.17 kB / 1.179 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.096, allocations: 1.062 kB / 1.179 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.096, allocations: 4 kB / 1.179 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.096, allocations: 3.984 kB / 1.179 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/1.096, allocations: 353.3 kB / 1.18 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.096, allocations: 4 kB / 1.18 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/1.096, allocations: 47.91 kB / 1.18 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/1.097, allocations: 20.84 kB / 1.18 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/1.097, allocations: 8.766 kB / 1.18 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/1.098, allocations: 1.324 MB / 1.181 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.098, allocations: 0 / 1.181 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/1.098, allocations: 377.8 kB / 1.182 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.099, allocations: 128.7 kB / 1.182 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/1.099, allocations: 0 / 1.182 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.099, allocations: 21.11 kB / 1.182 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/1.099, allocations: 15.97 kB / 1.182 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.099, allocations: 8 kB / 1.182 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001885/1.099, allocations: 186 kB / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.099, allocations: 0 / 1.182 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005978/1.1, allocations: 139.6 kB / 1.182 GB, free: 15.42 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * 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.0001466/1.1, allocations: 103.2 kB / 1.182 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.101, allocations: 429.3 kB / 1.183 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.101, allocations: 1 kB / 1.183 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004015/1.101, allocations: 234.3 kB / 1.183 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/1.102, allocations: 66.69 kB / 1.183 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.103, allocations: 0.6463 MB / 1.183 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/1.103, allocations: 0.8111 MB / 1.184 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002624/1.104, allocations: 72.25 kB / 1.184 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/1.104, allocations: 19.44 kB / 1.184 GB, free: 13 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/1.104, allocations: 4 kB / 1.184 GB, free: 13 MB / 0.7605 GB Notification: Performance of Templates: time 0.006989/1.111, allocations: 2.953 MB / 1.187 GB, free: 10.11 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)