Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.575/1.575, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009709/0.0009709, allocations: 183.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007688/0.000769, allocations: 95.19 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 12.47 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6133, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.8144, allocations: 169.4 MB / 1.192 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.8147, allocations: 97.25 kB / 1.192 GB, free: 8.293 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 9.0.0-master/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 9.0.0-master/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.04837/0.8631, allocations: 21.77 MB / 1.213 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8631, allocations: 0 / 1.213 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.8632, allocations: 11.98 kB / 1.213 GB, free: 2.648 MB / 0.7761 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.0009279/0.8641, allocations: 0.6166 MB / 1.214 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.8641, allocations: 8.031 kB / 1.214 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006647/0.8648, allocations: 100.5 kB / 1.214 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.8652, allocations: 302.6 kB / 1.214 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.8652, allocations: 21.03 kB / 1.214 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.8653, allocations: 32.36 kB / 1.214 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.8661, allocations: 486.4 kB / 1.215 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.8661, allocations: 4.188 kB / 1.215 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.8662, allocations: 23.91 kB / 1.215 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.8662, allocations: 28.64 kB / 1.215 GB, free: 0.9336 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.8669, allocations: 388 kB / 1.215 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.869, allocations: 2.048 MB / 1.217 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.8695, allocations: 229.3 kB / 1.217 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.8699, allocations: 172.8 kB / 1.217 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.87, allocations: 0 / 1.217 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.87, allocations: 39.41 kB / 1.217 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.87, allocations: 0 / 1.217 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of matching and sorting (n=18): time 0.001038/0.871, allocations: 457.2 kB / 1.218 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.8711, allocations: 55.41 kB / 1.218 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.8714, allocations: 262.6 kB / 1.218 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.8714, allocations: 33.7 kB / 1.218 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.8715, allocations: 207.8 kB / 1.218 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.8715, allocations: 63.11 kB / 1.218 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.8716, allocations: 4 kB / 1.218 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8717, allocations: 335.6 kB / 1.219 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.8719, allocations: 108.5 kB / 1.219 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.8722, allocations: 215.5 kB / 1.219 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.8727, allocations: 335.8 kB / 1.219 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8727, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006944/0.8734, allocations: 374 kB / 1.22 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.8736, allocations: 194.1 kB / 1.22 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8736, allocations: 7.984 kB / 1.22 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.8738, allocations: 32.77 kB / 1.22 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.8741, allocations: 80.45 kB / 1.22 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.8752, allocations: 1.33 MB / 1.221 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.8755, allocations: 48.3 kB / 1.221 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.8755, allocations: 19.92 kB / 1.221 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.8755, allocations: 5.562 kB / 1.221 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005508/0.8761, allocations: 296.5 kB / 1.222 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8761, allocations: 4 kB / 1.222 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.8761, allocations: 4 kB / 1.222 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.8763, allocations: 89.3 kB / 1.222 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8764, allocations: 4 kB / 1.222 GB, free: 9.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.8766, allocations: 43.67 kB / 1.222 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.8766, allocations: 12 kB / 1.222 GB, free: 8.953 MB / 0.7917 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.000208/0.8768, allocations: 245 kB / 1.222 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.8768, allocations: 24.47 kB / 1.222 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.8769, allocations: 38.17 kB / 1.222 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8769, allocations: 0 / 1.222 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8769, allocations: 3.938 kB / 1.222 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8769, allocations: 3.984 kB / 1.222 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.8781, allocations: 0.7672 MB / 1.223 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8781, allocations: 1.25 kB / 1.223 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.8783, allocations: 51.97 kB / 1.223 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.534e-05/0.8784, allocations: 25.86 kB / 1.223 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.8784, allocations: 7.938 kB / 1.223 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009182/0.8794, allocations: 1.312 MB / 1.224 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8794, allocations: 1.328 kB / 1.224 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.88, allocations: 397.6 kB / 1.225 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.8801, allocations: 120.7 kB / 1.225 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.8801, allocations: 4 kB / 1.225 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.8803, allocations: 19.98 kB / 1.225 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.8803, allocations: 27.84 kB / 1.225 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.8804, allocations: 8 kB / 1.225 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001527/0.8805, allocations: 185.9 kB / 1.225 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8805, allocations: 0.75 kB / 1.225 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000513/0.881, allocations: 147.5 kB / 1.225 GB, free: 5.332 MB / 0.7917 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.0001123/0.8812, allocations: 100.5 kB / 1.225 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000951/0.8821, allocations: 0.513 MB / 1.226 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8821, allocations: 0 / 1.226 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.8825, allocations: 226.6 kB / 1.226 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.8829, allocations: 64.84 kB / 1.226 GB, free: 4.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.8837, allocations: 0.6559 MB / 1.227 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.8841, allocations: 0.8074 MB / 1.227 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.8843, allocations: 71.55 kB / 1.228 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.8844, allocations: 19.44 kB / 1.228 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of SimCode: time 2.21e-07/0.8844, allocations: 0 / 1.228 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of Templates: time 0.00605/0.8904, allocations: 3.154 MB / 1.231 GB, free: 15.73 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)