Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.603/1.603, allocations: 297.8 MB / 313.8 MB, free: 124 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.0008761/0.0008762, allocations: 176.5 kB / 384.6 MB, free: 10.88 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.285/1.285, allocations: 223.2 MB / 0.6626 GB, free: 4.266 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.0008306/0.0008307, allocations: 99.34 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 15.94 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5941, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.7825, allocations: 169.7 MB / 1.192 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.7828, allocations: 91.95 kB / 1.192 GB, free: 8.02 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04785/0.8307, allocations: 19.74 MB / 1.211 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8307, allocations: 0 / 1.211 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.545e-05/0.8307, allocations: 7.984 kB / 1.211 GB, free: 4.414 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001225/0.832, allocations: 0.6327 MB / 1.212 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.832, allocations: 12.03 kB / 1.212 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008479/0.8329, allocations: 120.4 kB / 1.212 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.8335, allocations: 329.9 kB / 1.212 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.8336, allocations: 55.27 kB / 1.212 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.8336, allocations: 28.38 kB / 1.213 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000831/0.8345, allocations: 0.5052 MB / 1.213 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.8345, allocations: 4.875 kB / 1.213 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.8345, allocations: 21.98 kB / 1.213 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.8346, allocations: 24.98 kB / 1.213 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.8353, allocations: 391.6 kB / 1.213 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.8378, allocations: 2.213 MB / 1.216 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.8385, allocations: 265.2 kB / 1.216 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.8389, allocations: 160.8 kB / 1.216 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.8389, allocations: 11.98 kB / 1.216 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.8389, allocations: 35.27 kB / 1.216 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.8389, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of matching and sorting (n=19): time 0.001463/0.8404, allocations: 0.5847 MB / 1.217 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.8405, allocations: 55.36 kB / 1.217 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.8407, allocations: 228.9 kB / 1.217 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.8407, allocations: 25.7 kB / 1.217 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.8409, allocations: 211.7 kB / 1.217 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.8409, allocations: 71.02 kB / 1.217 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.8409, allocations: 9.062 kB / 1.217 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.8411, allocations: 330.8 kB / 1.217 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.8413, allocations: 91.94 kB / 1.218 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.8415, allocations: 191.6 kB / 1.218 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.842, allocations: 282.7 kB / 1.218 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.842, allocations: 0 / 1.218 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000839/0.8429, allocations: 388.1 kB / 1.218 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.843, allocations: 161.9 kB / 1.219 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.843, allocations: 4 kB / 1.219 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.8435, allocations: 109.6 kB / 1.219 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.8438, allocations: 55.91 kB / 1.219 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.8468, allocations: 2.83 MB / 1.221 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.8471, allocations: 35.77 kB / 1.222 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.8471, allocations: 12 kB / 1.222 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.8471, allocations: 4 kB / 1.222 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007385/0.8479, allocations: 314.2 kB / 1.222 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8479, allocations: 7.984 kB / 1.222 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.8482, allocations: 74.52 kB / 1.222 GB, free: 8.781 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.8484, allocations: 60.53 kB / 1.222 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.8502, allocations: 1.497 MB / 1.223 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.8504, allocations: 39.73 kB / 1.223 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.8504, allocations: 8 kB / 1.223 GB, free: 7.047 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.8507, allocations: 245.8 kB / 1.224 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.8507, allocations: 20.56 kB / 1.224 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.8508, allocations: 30.92 kB / 1.224 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8508, allocations: 4 kB / 1.224 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8508, allocations: 7.938 kB / 1.224 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.8508, allocations: 3.938 kB / 1.224 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.8521, allocations: 0.8336 MB / 1.225 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.8521, allocations: 5.125 kB / 1.225 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.8523, allocations: 31.92 kB / 1.225 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.8526, allocations: 109.7 kB / 1.225 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.8527, allocations: 1.031 kB / 1.225 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.8553, allocations: 2.82 MB / 1.227 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8553, allocations: 0 / 1.227 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.856, allocations: 420.8 kB / 1.228 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.8561, allocations: 116.9 kB / 1.228 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.8562, allocations: 8 kB / 1.228 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.8563, allocations: 11.98 kB / 1.228 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.8564, allocations: 23.91 kB / 1.228 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.8564, allocations: 5.062 kB / 1.228 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001346/0.8566, allocations: 156.5 kB / 1.228 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8566, allocations: 4 kB / 1.228 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005806/0.8572, allocations: 177 kB / 1.228 GB, free: 1.645 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/0.8573, allocations: 115 kB / 1.228 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.859, allocations: 0.7635 MB / 1.229 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.859, allocations: 0 / 1.229 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.8597, allocations: 377.6 kB / 1.23 GB, free: 336 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.8602, allocations: 47.02 kB / 1.23 GB, free: 284 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.8612, allocations: 0.7045 MB / 1.23 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.8615, allocations: 0.8146 MB / 1.231 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.8618, allocations: 59.95 kB / 1.231 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.8618, allocations: 19.44 kB / 1.231 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.8618, allocations: 0 / 1.231 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.007898/0.8697, allocations: 4.169 MB / 1.235 GB, free: 10.55 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)