Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001303/0.001303, allocations: 170.8 kB / 371.8 MB, free: 10.29 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.849/1.849, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001013/0.001013, allocations: 107.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 11.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6894/0.8843, allocations: 165.9 MB / 1.141 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.8845, allocations: 90.69 kB / 1.141 GB, free: 12.94 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.04003/0.9246, allocations: 19.49 MB / 1.161 GB, free: 16.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/0.9246, allocations: 0 / 1.161 GB, free: 16.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.117e-05/0.9246, allocations: 11.94 kB / 1.161 GB, free: 16.56 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.001187/0.9258, allocations: 0.6081 MB / 1.161 GB, free: 15.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9259, allocations: 20 kB / 1.161 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/0.9267, allocations: 92.59 kB / 1.161 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.9272, allocations: 296.8 kB / 1.162 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.9272, allocations: 27.27 kB / 1.162 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.9273, allocations: 30.98 kB / 1.162 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000838/0.9282, allocations: 481.6 kB / 1.162 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.9282, allocations: 3.938 kB / 1.162 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.9282, allocations: 15.23 kB / 1.162 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.9283, allocations: 43.7 kB / 1.162 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.9291, allocations: 383.8 kB / 1.162 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.9314, allocations: 2.054 MB / 1.164 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.932, allocations: 231.9 kB / 1.165 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.9321, allocations: 0 / 1.165 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.9321, allocations: 34.56 kB / 1.165 GB, free: 12.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.9321, allocations: 0 / 1.165 GB, free: 12.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.00112/0.9332, allocations: 468 kB / 1.165 GB, free: 12.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.9333, allocations: 55.41 kB / 1.165 GB, free: 11.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.9336, allocations: 227.1 kB / 1.165 GB, free: 11.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.9336, allocations: 29.14 kB / 1.165 GB, free: 11.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.9337, allocations: 217.2 kB / 1.166 GB, free: 11.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.9338, allocations: 61.11 kB / 1.166 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.9338, allocations: 7.438 kB / 1.166 GB, free: 11.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.934, allocations: 340.3 kB / 1.166 GB, free: 11.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.9342, allocations: 103 kB / 1.166 GB, free: 11.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.9345, allocations: 218.8 kB / 1.166 GB, free: 10.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.9349, allocations: 132.5 kB / 1.166 GB, free: 10.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9349, allocations: 0 / 1.166 GB, free: 10.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007703/0.9356, allocations: 378.8 kB / 1.167 GB, free: 10.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005832/0.9362, allocations: 1.311 MB / 1.168 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.9363, allocations: 4 kB / 1.168 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.9365, allocations: 36.47 kB / 1.168 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.9368, allocations: 67.89 kB / 1.168 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003969/0.9372, allocations: 0.5534 MB / 1.169 GB, free: 8.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.9375, allocations: 49.89 kB / 1.169 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.9375, allocations: 12 kB / 1.169 GB, free: 8.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.9375, allocations: 5.25 kB / 1.169 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005917/0.9381, allocations: 314.9 kB / 1.169 GB, free: 8.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9382, allocations: 3.984 kB / 1.169 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.9382, allocations: 8 kB / 1.169 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.9385, allocations: 79.58 kB / 1.169 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9385, allocations: 7.938 kB / 1.169 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.9387, allocations: 47.14 kB / 1.169 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.9388, allocations: 15.62 kB / 1.169 GB, free: 7.965 MB / 0.698 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.000223/0.939, allocations: 246 kB / 1.17 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.9391, allocations: 27.67 kB / 1.17 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.9391, allocations: 31 kB / 1.17 GB, free: 7.691 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9392, allocations: 4 kB / 1.17 GB, free: 7.688 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9392, allocations: 3.984 kB / 1.17 GB, free: 7.684 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9392, allocations: 0 / 1.17 GB, free: 7.684 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.9396, allocations: 350.2 kB / 1.17 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9396, allocations: 7.938 kB / 1.17 GB, free: 7.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.9398, allocations: 39.97 kB / 1.17 GB, free: 7.305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.9399, allocations: 24.22 kB / 1.17 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.9399, allocations: 10.81 kB / 1.17 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009746/0.9409, allocations: 1.321 MB / 1.171 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9409, allocations: 0 / 1.171 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.9416, allocations: 380.5 kB / 1.172 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.9417, allocations: 124 kB / 1.172 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.9417, allocations: 0 / 1.172 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.9419, allocations: 22.53 kB / 1.172 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.942, allocations: 15.11 kB / 1.172 GB, free: 5.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.942, allocations: 10.88 kB / 1.172 GB, free: 5.359 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001703/0.9422, allocations: 180.1 kB / 1.172 GB, free: 5.211 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9422, allocations: 0 / 1.172 GB, free: 5.211 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005658/0.9428, allocations: 141.1 kB / 1.172 GB, free: 5.086 MB / 0.698 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.0001177/0.9429, allocations: 106.5 kB / 1.172 GB, free: 4.977 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.9439, allocations: 425.2 kB / 1.173 GB, free: 4.637 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9439, allocations: 0 / 1.173 GB, free: 4.637 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.9442, allocations: 232.6 kB / 1.173 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.9446, allocations: 65.38 kB / 1.173 GB, free: 4.371 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.9456, allocations: 0.6597 MB / 1.174 GB, free: 3.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.9459, allocations: 0.8013 MB / 1.174 GB, free: 2.914 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.9462, allocations: 78.19 kB / 1.174 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.9463, allocations: 23.44 kB / 1.174 GB, free: 2.816 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.9463, allocations: 0 / 1.174 GB, free: 2.816 MB / 0.698 GB Notification: Performance of Templates: time 0.006337/0.9526, allocations: 2.961 MB / 1.177 GB, free: 15.9 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)