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.684/1.684, allocations: 285.4 MB / 298 MB, free: 5.961 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.001253/0.001253, allocations: 172.9 kB / 366.4 MB, free: 2.098 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.57/1.57, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008191/0.0008192, allocations: 91.78 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.647e-05, allocations: 3.984 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6625, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.8781, allocations: 165.8 MB / 1.133 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.8785, allocations: 87.95 kB / 1.133 GB, free: 1.867 MB / 0.7292 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.04942/0.928, allocations: 19.36 MB / 1.152 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.883e-06/0.928, allocations: 0 / 1.152 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.403e-05/0.928, allocations: 8 kB / 1.152 GB, free: 14.42 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.001436/0.9295, allocations: 0.592 MB / 1.152 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9295, allocations: 12.03 kB / 1.152 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.9305, allocations: 101.6 kB / 1.152 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.9311, allocations: 291.6 kB / 1.153 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.9311, allocations: 20.78 kB / 1.153 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.9312, allocations: 34.33 kB / 1.153 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.932, allocations: 447.5 kB / 1.153 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.932, allocations: 3.938 kB / 1.153 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.932, allocations: 12 kB / 1.153 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.9321, allocations: 36.75 kB / 1.153 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.9327, allocations: 307 kB / 1.154 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.9353, allocations: 2.068 MB / 1.156 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.9359, allocations: 182.8 kB / 1.156 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.9362, allocations: 140.8 kB / 1.156 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.9363, allocations: 4 kB / 1.156 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.9363, allocations: 36.5 kB / 1.156 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.404e-06/0.9363, allocations: 4 kB / 1.156 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.000544/0.9369, allocations: 194.4 kB / 1.156 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.9369, allocations: 51.41 kB / 1.156 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.9372, allocations: 231.1 kB / 1.156 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.9373, allocations: 33.7 kB / 1.156 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.9375, allocations: 207.7 kB / 1.157 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.9375, allocations: 67.08 kB / 1.157 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.9375, allocations: 12 kB / 1.157 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9377, allocations: 330.8 kB / 1.157 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.9378, allocations: 68.53 kB / 1.157 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.938, allocations: 179.6 kB / 1.157 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.9382, allocations: 93.48 kB / 1.157 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.9382, allocations: 4 kB / 1.157 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005449/0.9388, allocations: 301.8 kB / 1.158 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006586/0.9395, allocations: 1.403 MB / 1.159 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.9395, allocations: 4 kB / 1.159 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.9397, allocations: 32.84 kB / 1.159 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.94, allocations: 71.89 kB / 1.159 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004843/0.9405, allocations: 0.5484 MB / 1.16 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.9408, allocations: 55.66 kB / 1.16 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.9409, allocations: 8 kB / 1.16 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.9409, allocations: 4 kB / 1.16 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004014/0.9413, allocations: 235.6 kB / 1.16 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.9413, allocations: 4 kB / 1.16 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.9413, allocations: 4 kB / 1.16 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.9416, allocations: 71.91 kB / 1.16 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.9416, allocations: 8.391 kB / 1.16 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.9419, allocations: 47.67 kB / 1.16 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.9419, allocations: 12 kB / 1.16 GB, free: 5.355 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.0001232/0.9421, allocations: 131.6 kB / 1.16 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.9421, allocations: 23.72 kB / 1.16 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.55e-05/0.9422, allocations: 33.89 kB / 1.16 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.9422, allocations: 5.188 kB / 1.16 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9422, allocations: 4 kB / 1.16 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9423, allocations: 3.562 kB / 1.16 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.9433, allocations: 0.701 MB / 1.161 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9433, allocations: 4 kB / 1.161 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.9435, allocations: 47.97 kB / 1.161 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.9436, allocations: 24.84 kB / 1.161 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.9437, allocations: 8 kB / 1.161 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.9448, allocations: 1.321 MB / 1.162 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9448, allocations: 3.953 kB / 1.162 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.9452, allocations: 338.2 kB / 1.163 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.9454, allocations: 124.7 kB / 1.163 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.9454, allocations: 4 kB / 1.163 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.9456, allocations: 27.97 kB / 1.163 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.9457, allocations: 11.98 kB / 1.163 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.9457, allocations: 6.062 kB / 1.163 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000186/0.9459, allocations: 183.1 kB / 1.163 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9459, allocations: 0 / 1.163 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005798/0.9465, allocations: 143.5 kB / 1.163 GB, free: 1.965 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.0001644/0.9467, allocations: 107.2 kB / 1.163 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006472/0.9473, allocations: 306.6 kB / 1.164 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9474, allocations: 0 / 1.164 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.9477, allocations: 209.5 kB / 1.164 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.9481, allocations: 58.02 kB / 1.164 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.9489, allocations: 372.6 kB / 1.164 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.9494, allocations: 0.8081 MB / 1.165 GB, free: 52 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.9497, allocations: 86.36 kB / 1.165 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.9498, allocations: 19.44 kB / 1.165 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of SimCode: time 2.5e-07/0.9498, allocations: 4 kB / 1.165 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.008132/0.9579, allocations: 3.299 MB / 1.168 GB, free: 12.73 MB / 0.7761 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)