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.61/1.61, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001298/0.001298, allocations: 168.9 kB / 361.4 MB, free: 6.824 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.62/1.62, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008053/0.0008053, allocations: 91.91 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.788e-05, allocations: 0 / 0.8517 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6603, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.8744, allocations: 165.1 MB / 1.126 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.8747, allocations: 87.42 kB / 1.126 GB, free: 6.566 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.04699/0.9217, allocations: 19.28 MB / 1.145 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9218, allocations: 4 kB / 1.145 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.9218, allocations: 4 kB / 1.145 GB, free: 3.191 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.001196/0.923, allocations: 0.596 MB / 1.145 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9231, allocations: 8.031 kB / 1.145 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.924, allocations: 100.5 kB / 1.145 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.9245, allocations: 303.4 kB / 1.146 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.9246, allocations: 8 kB / 1.146 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.9246, allocations: 16 kB / 1.146 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005353/0.9252, allocations: 277.5 kB / 1.146 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.9259, allocations: 410 kB / 1.146 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.9259, allocations: 3.938 kB / 1.146 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.9259, allocations: 0 / 1.146 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.926, allocations: 28.77 kB / 1.146 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.9282, allocations: 1.988 MB / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.9286, allocations: 182.8 kB / 1.148 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.9289, allocations: 134.3 kB / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.9289, allocations: 0 / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.9289, allocations: 38.5 kB / 1.148 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.929, allocations: 4 kB / 1.148 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.000417/0.9294, allocations: 182.4 kB / 1.149 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.9294, allocations: 55.41 kB / 1.149 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.9296, allocations: 188.5 kB / 1.149 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.9296, allocations: 25.7 kB / 1.149 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.9298, allocations: 215.9 kB / 1.149 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.9298, allocations: 63.05 kB / 1.149 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.9298, allocations: 0 / 1.149 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.93, allocations: 338.8 kB / 1.15 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.9301, allocations: 64.55 kB / 1.15 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.9302, allocations: 175.4 kB / 1.15 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.9304, allocations: 93.78 kB / 1.15 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9304, allocations: 0 / 1.15 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004378/0.9308, allocations: 266.2 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000509/0.9314, allocations: 1.393 MB / 1.151 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.9314, allocations: 5.438 kB / 1.151 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.9315, allocations: 28.84 kB / 1.151 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.9318, allocations: 75.89 kB / 1.152 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003878/0.9322, allocations: 0.559 MB / 1.152 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.9325, allocations: 35.73 kB / 1.152 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.9325, allocations: 17.97 kB / 1.152 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.9325, allocations: 4 kB / 1.152 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000301/0.9328, allocations: 183.7 kB / 1.152 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9329, allocations: 8.453 kB / 1.152 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.9329, allocations: 8 kB / 1.152 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.9331, allocations: 75.91 kB / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.9332, allocations: 11.92 kB / 1.152 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.9334, allocations: 32.86 kB / 1.152 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.9334, allocations: 12 kB / 1.152 GB, free: 10.5 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.0001027/0.9335, allocations: 120.9 kB / 1.153 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.9336, allocations: 23.77 kB / 1.153 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.9336, allocations: 29.89 kB / 1.153 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9336, allocations: 0 / 1.153 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9337, allocations: 4 kB / 1.153 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9337, allocations: 0 / 1.153 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007891/0.9345, allocations: 0.6391 MB / 1.153 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9345, allocations: 0 / 1.153 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.9347, allocations: 49.77 kB / 1.153 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.491e-05/0.9348, allocations: 28.91 kB / 1.153 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.9348, allocations: 0 / 1.153 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008905/0.9357, allocations: 1.261 MB / 1.155 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9357, allocations: 0 / 1.155 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.9361, allocations: 331 kB / 1.155 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/0.9362, allocations: 120.7 kB / 1.155 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.9362, allocations: 3.875 kB / 1.155 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.9364, allocations: 15.98 kB / 1.155 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.9365, allocations: 23.92 kB / 1.155 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.9365, allocations: 4 kB / 1.155 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001266/0.9366, allocations: 154 kB / 1.155 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9367, allocations: 4 kB / 1.155 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005532/0.9372, allocations: 131.4 kB / 1.155 GB, free: 7.352 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.0001452/0.9374, allocations: 103.7 kB / 1.155 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.9379, allocations: 278 kB / 1.156 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9379, allocations: 4.25 kB / 1.156 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.9381, allocations: 185.6 kB / 1.156 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.9385, allocations: 54.53 kB / 1.156 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006494/0.9392, allocations: 371.9 kB / 1.156 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.9396, allocations: 0.8003 MB / 1.157 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.9399, allocations: 80.89 kB / 1.157 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.9399, allocations: 19.44 kB / 1.157 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.9399, allocations: 0 / 1.157 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of Templates: time 0.00626/0.9462, allocations: 2.982 MB / 1.16 GB, free: 2.5 MB / 0.7605 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)