Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.561/1.561, allocations: 285.4 MB / 298 MB, free: 6.004 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.001274/0.001274, allocations: 168.8 kB / 366.4 MB, free: 2.113 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.467/1.467, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0007743/0.0007744, allocations: 85.3 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.852e-05, allocations: 0 / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.6409, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.8481, allocations: 166.1 MB / 1.133 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.8483, allocations: 91.94 kB / 1.133 GB, free: 1.609 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04317/0.8915, allocations: 17.74 MB / 1.15 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.436e-06/0.8916, allocations: 0 / 1.15 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.258e-05/0.8916, allocations: 11.94 kB / 1.15 GB, free: 15.76 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00114/0.8927, allocations: 0.6114 MB / 1.151 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.8928, allocations: 8.031 kB / 1.151 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.8937, allocations: 116.1 kB / 1.151 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.8943, allocations: 328.2 kB / 1.152 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.8944, allocations: 58.47 kB / 1.152 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.8945, allocations: 28 kB / 1.152 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.8953, allocations: 478.5 kB / 1.152 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.8954, allocations: 3.938 kB / 1.152 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.8954, allocations: 23.94 kB / 1.152 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.8955, allocations: 24.77 kB / 1.152 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.8961, allocations: 342.9 kB / 1.152 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.8986, allocations: 2.216 MB / 1.155 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.8993, allocations: 254.7 kB / 1.155 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.8996, allocations: 148.6 kB / 1.155 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.8997, allocations: 7.984 kB / 1.155 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.8997, allocations: 30.56 kB / 1.155 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.8997, allocations: 0 / 1.155 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0006665/0.9004, allocations: 264.8 kB / 1.155 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.9004, allocations: 59.41 kB / 1.155 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.9007, allocations: 192.9 kB / 1.156 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.9007, allocations: 33.7 kB / 1.156 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.9008, allocations: 211.6 kB / 1.156 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.9009, allocations: 63.09 kB / 1.156 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.9009, allocations: 4 kB / 1.156 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.901, allocations: 334.8 kB / 1.156 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.9012, allocations: 75.97 kB / 1.156 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.9014, allocations: 168.4 kB / 1.156 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.9016, allocations: 102.3 kB / 1.156 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9016, allocations: 0 / 1.156 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007133/0.9023, allocations: 346.6 kB / 1.157 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004682/0.9028, allocations: 0.9601 MB / 1.158 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9028, allocations: 10 kB / 1.158 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.9033, allocations: 105.6 kB / 1.158 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.9035, allocations: 55.84 kB / 1.158 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.9058, allocations: 2.023 MB / 1.16 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.9061, allocations: 35.73 kB / 1.16 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.9061, allocations: 12 kB / 1.16 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.9062, allocations: 10.3 kB / 1.16 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005491/0.9067, allocations: 274.9 kB / 1.16 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.9067, allocations: 4 kB / 1.16 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.907, allocations: 77.11 kB / 1.16 GB, free: 5.059 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.9072, allocations: 57.72 kB / 1.16 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.9089, allocations: 1.488 MB / 1.162 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.9092, allocations: 31.73 kB / 1.162 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.9092, allocations: 8 kB / 1.162 GB, free: 3.344 MB / 0.7605 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 () * 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.0001033/0.9093, allocations: 116.9 kB / 1.162 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.9094, allocations: 27.75 kB / 1.162 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.594e-05/0.9095, allocations: 30.03 kB / 1.162 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9095, allocations: 4 kB / 1.162 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9095, allocations: 1.125 kB / 1.162 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.9095, allocations: 6.234 kB / 1.162 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.9107, allocations: 0.7897 MB / 1.163 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.9107, allocations: 4 kB / 1.163 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.9108, allocations: 31.97 kB / 1.163 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.9112, allocations: 105.7 kB / 1.163 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.9112, allocations: 0 / 1.163 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.9139, allocations: 2.794 MB / 1.166 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9139, allocations: 4.219 kB / 1.166 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.9145, allocations: 405.9 kB / 1.166 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.9147, allocations: 116.8 kB / 1.166 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.9147, allocations: 4 kB / 1.166 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.9149, allocations: 11.98 kB / 1.166 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.915, allocations: 31.86 kB / 1.166 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.915, allocations: 4 kB / 1.166 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001476/0.9152, allocations: 157.4 kB / 1.166 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9152, allocations: 0 / 1.166 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005971/0.9158, allocations: 179.3 kB / 1.166 GB, free: 14.14 MB / 0.7761 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 (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.000136/0.9159, allocations: 107.3 kB / 1.167 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.9175, allocations: 0.5987 MB / 1.167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9175, allocations: 256 / 1.167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.9182, allocations: 357.1 kB / 1.168 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.9185, allocations: 55.02 kB / 1.168 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.9193, allocations: 406.4 kB / 1.168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.9197, allocations: 0.8191 MB / 1.169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.92, allocations: 69.75 kB / 1.169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.9201, allocations: 19.44 kB / 1.169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of SimCode: time 2.7e-07/0.9201, allocations: 0 / 1.169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.008608/0.9287, allocations: 4.243 MB / 1.173 GB, free: 7.473 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)