Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001031/0.001031, allocations: 178.3 kB / 371.6 MB, free: 3.391 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.468/1.468, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008203/0.0008204, allocations: 92.09 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.035e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2203, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7091/0.9295, allocations: 167 MB / 1.143 GB, free: 24.58 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.9298, allocations: 93.84 kB / 1.143 GB, free: 24.54 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.04189/0.9717, allocations: 17.75 MB / 1.16 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9717, allocations: 4 kB / 1.16 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.9717, allocations: 7.984 kB / 1.16 GB, free: 15.31 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009191/0.9726, allocations: 0.6155 MB / 1.161 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9727, allocations: 8.031 kB / 1.161 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.9735, allocations: 111.1 kB / 1.161 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.974, allocations: 325.5 kB / 1.161 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.9741, allocations: 57.64 kB / 1.161 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.9742, allocations: 36.31 kB / 1.161 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.9748, allocations: 474.8 kB / 1.162 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.9748, allocations: 4 kB / 1.162 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.9749, allocations: 19.62 kB / 1.162 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.9749, allocations: 28.06 kB / 1.162 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.9754, allocations: 347.8 kB / 1.162 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.9773, allocations: 2.217 MB / 1.164 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.9779, allocations: 259.7 kB / 1.165 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.9782, allocations: 143 kB / 1.165 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.9783, allocations: 4 kB / 1.165 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.9783, allocations: 41.94 kB / 1.165 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.913e-06/0.9783, allocations: 0 / 1.165 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.000591/0.9789, allocations: 261.1 kB / 1.165 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.9789, allocations: 55.41 kB / 1.165 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.9791, allocations: 198.8 kB / 1.165 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.9791, allocations: 30.23 kB / 1.165 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.9792, allocations: 213 kB / 1.166 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.9792, allocations: 68.83 kB / 1.166 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.9793, allocations: 7.375 kB / 1.166 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.9793, allocations: 333.5 kB / 1.166 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.9794, allocations: 72.62 kB / 1.166 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.9796, allocations: 161 kB / 1.166 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.9797, allocations: 98.28 kB / 1.166 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9798, allocations: 4 kB / 1.166 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005615/0.9803, allocations: 336.7 kB / 1.167 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.9805, allocations: 0.9629 MB / 1.168 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9805, allocations: 0 / 1.168 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/0.9809, allocations: 114.1 kB / 1.168 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.9811, allocations: 54.14 kB / 1.168 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.9829, allocations: 2.033 MB / 1.17 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.9832, allocations: 30.19 kB / 1.17 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.9832, allocations: 12.62 kB / 1.17 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.9832, allocations: 7.953 kB / 1.17 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004749/0.9837, allocations: 267.4 kB / 1.17 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.9837, allocations: 4 kB / 1.17 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/0.9839, allocations: 78.78 kB / 1.17 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.9841, allocations: 54.78 kB / 1.17 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.9855, allocations: 1.486 MB / 1.172 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.9857, allocations: 34.48 kB / 1.172 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.9858, allocations: 11.88 kB / 1.172 GB, free: 5.039 MB / 0.7448 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 7.587e-05/0.9858, allocations: 119.6 kB / 1.172 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.9859, allocations: 23.77 kB / 1.172 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.9859, allocations: 25.67 kB / 1.172 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.986, allocations: 5.359 kB / 1.172 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.986, allocations: 8 kB / 1.172 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.986, allocations: 0 / 1.172 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.987, allocations: 0.7986 MB / 1.173 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.987, allocations: 0 / 1.173 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.9872, allocations: 37.84 kB / 1.173 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.9875, allocations: 100.3 kB / 1.173 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.9875, allocations: 7.5 kB / 1.173 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.9894, allocations: 2.789 MB / 1.175 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9894, allocations: 1.328 kB / 1.175 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.99, allocations: 413.5 kB / 1.176 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.9901, allocations: 114.1 kB / 1.176 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.9901, allocations: 7.562 kB / 1.176 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.9903, allocations: 14.38 kB / 1.176 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.9904, allocations: 23.12 kB / 1.176 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.9904, allocations: 4 kB / 1.176 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001578/0.9906, allocations: 162.4 kB / 1.176 GB, free: 16.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9906, allocations: 4 kB / 1.176 GB, free: 16.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005313/0.9911, allocations: 170.3 kB / 1.176 GB, free: 16.55 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 (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.0001312/0.9912, allocations: 107.7 kB / 1.176 GB, free: 16.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.9926, allocations: 0.5983 MB / 1.177 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9927, allocations: 0.9375 kB / 1.177 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.9933, allocations: 358.5 kB / 1.177 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.9936, allocations: 52.12 kB / 1.177 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.9944, allocations: 405.4 kB / 1.178 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.9948, allocations: 0.8207 MB / 1.179 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.995, allocations: 68.11 kB / 1.179 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.9951, allocations: 15.44 kB / 1.179 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of SimCode: time 3.91e-07/0.9951, allocations: 4 kB / 1.179 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.007942/1.003, allocations: 4.264 MB / 1.183 GB, free: 10.61 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)