Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.349/1.349, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 174.3 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 0.5785 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007484/0.0007484, allocations: 86.36 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 14.31 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5431/0.734, allocations: 159.6 MB / 1.057 GB, free: 153.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.7344, allocations: 101 kB / 1.057 GB, free: 153.1 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.04511/0.7795, allocations: 19.51 MB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7795, allocations: 0 / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.008e-05/0.7795, allocations: 11.12 kB / 1.076 GB, free: 150.3 MB / 0.698 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.001101/0.7807, allocations: 0.6184 MB / 1.077 GB, free: 149.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7807, allocations: 8.906 kB / 1.077 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.7815, allocations: 98.98 kB / 1.077 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.7819, allocations: 305.1 kB / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.782, allocations: 22.45 kB / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.782, allocations: 27 kB / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008681/0.7829, allocations: 489.6 kB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.783, allocations: 1.562 kB / 1.078 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.783, allocations: 15.5 kB / 1.078 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.7831, allocations: 33.84 kB / 1.078 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.7839, allocations: 385.6 kB / 1.078 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.7858, allocations: 2.052 MB / 1.08 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.7863, allocations: 231.9 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.7867, allocations: 175.5 kB / 1.081 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.7868, allocations: 2.219 kB / 1.081 GB, free: 147.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.7868, allocations: 39.92 kB / 1.081 GB, free: 147.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.7868, allocations: 0 / 1.081 GB, free: 147.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.7878, allocations: 456.7 kB / 1.081 GB, free: 147 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.7879, allocations: 56.83 kB / 1.081 GB, free: 147 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.7881, allocations: 260.8 kB / 1.081 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.7881, allocations: 27.17 kB / 1.081 GB, free: 146.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.7882, allocations: 210.1 kB / 1.082 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.7883, allocations: 63.66 kB / 1.082 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.7883, allocations: 8.906 kB / 1.082 GB, free: 146.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.7884, allocations: 340.5 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.7886, allocations: 100.5 kB / 1.082 GB, free: 146.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.7889, allocations: 216 kB / 1.082 GB, free: 146.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.7894, allocations: 328.7 kB / 1.083 GB, free: 145.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.7894, allocations: 1.188 kB / 1.083 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007685/0.7902, allocations: 381.2 kB / 1.083 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.7902, allocations: 188.4 kB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7903, allocations: 4.281 kB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.7905, allocations: 41.27 kB / 1.083 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.7907, allocations: 73.8 kB / 1.083 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008955/0.7916, allocations: 1.33 MB / 1.085 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.7919, allocations: 48.39 kB / 1.085 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.7919, allocations: 15.81 kB / 1.085 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.7919, allocations: 7.875 kB / 1.085 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004969/0.7925, allocations: 300.8 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7925, allocations: 4.406 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.7925, allocations: 3.812 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.7927, allocations: 78.17 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7927, allocations: 7.875 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.793, allocations: 45.48 kB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.793, allocations: 16.56 kB / 1.085 GB, free: 144.1 MB / 0.698 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 () * Number of clocked 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.0001777/0.7932, allocations: 249.8 kB / 1.085 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.7932, allocations: 22.69 kB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.7933, allocations: 33.36 kB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7933, allocations: 3.844 kB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7933, allocations: 3.938 kB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.7933, allocations: 3.984 kB / 1.085 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.7943, allocations: 0.7668 MB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7943, allocations: 4.906 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.7945, allocations: 45.69 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-05/0.7946, allocations: 32.2 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.7946, allocations: 1.938 kB / 1.086 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006554/0.7953, allocations: 1.319 MB / 1.087 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7953, allocations: 5.125 kB / 1.087 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.7959, allocations: 385.2 kB / 1.088 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.796, allocations: 120.6 kB / 1.088 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.7961, allocations: 6.031 kB / 1.088 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.7962, allocations: 25.27 kB / 1.088 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.7963, allocations: 21.75 kB / 1.088 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.7963, allocations: 4.844 kB / 1.088 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001655/0.7965, allocations: 190 kB / 1.088 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7965, allocations: 0 / 1.088 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006207/0.7971, allocations: 149.6 kB / 1.088 GB, free: 141.5 MB / 0.698 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 (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.0001233/0.7973, allocations: 104.3 kB / 1.088 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.7984, allocations: 0.4998 MB / 1.089 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7985, allocations: 0.5625 kB / 1.089 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.7988, allocations: 237.1 kB / 1.089 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.7994, allocations: 59.97 kB / 1.089 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.8005, allocations: 0.6724 MB / 1.09 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.8008, allocations: 0.7971 MB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002975/0.8011, allocations: 70.17 kB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.8012, allocations: 24.81 kB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8012, allocations: 4 kB / 1.091 GB, free: 139.8 MB / 0.698 GB Notification: Performance of Templates: time 0.00634/0.8075, allocations: 3.152 MB / 1.094 GB, free: 138.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)