Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.251/2.251, allocations: 252.6 MB / 265.2 MB, free: 5.637 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 177.3 kB / 324.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00212/0.00212, allocations: 98.59 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.057e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9757/1.18, allocations: 159.3 MB / 1.05 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.18, allocations: 93.19 kB / 1.051 GB, free: 9.332 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.07691/1.257, allocations: 19.36 MB / 1.069 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/1.257, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.902e-05/1.257, allocations: 8 kB / 1.069 GB, free: 9.406 MB / 0.6823 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.001426/1.258, allocations: 0.587 MB / 1.07 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.259, allocations: 12.03 kB / 1.07 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.26, allocations: 103.7 kB / 1.07 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/1.26, allocations: 281.7 kB / 1.07 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/1.26, allocations: 27.95 kB / 1.07 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/1.26, allocations: 34.42 kB / 1.07 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.261, allocations: 436.9 kB / 1.071 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.262, allocations: 0 / 1.071 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/1.262, allocations: 22.91 kB / 1.071 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/1.262, allocations: 32.77 kB / 1.071 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/1.263, allocations: 316.8 kB / 1.071 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/1.266, allocations: 2.054 MB / 1.073 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/1.267, allocations: 184.7 kB / 1.073 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/1.267, allocations: 146.1 kB / 1.074 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/1.267, allocations: 7.984 kB / 1.074 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.267, allocations: 30.56 kB / 1.074 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.815e-06/1.267, allocations: 0 / 1.074 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006414/1.268, allocations: 198.9 kB / 1.074 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.268, allocations: 67.23 kB / 1.074 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/1.268, allocations: 230.8 kB / 1.074 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/1.268, allocations: 29.08 kB / 1.074 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/1.269, allocations: 205.4 kB / 1.074 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/1.269, allocations: 65.97 kB / 1.074 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/1.269, allocations: 7.5 kB / 1.074 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.269, allocations: 333.3 kB / 1.075 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.269, allocations: 69.61 kB / 1.075 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/1.269, allocations: 172.6 kB / 1.075 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/1.27, allocations: 99.77 kB / 1.075 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.27, allocations: 4 kB / 1.075 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008268/1.271, allocations: 299.3 kB / 1.075 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006385/1.271, allocations: 1.398 MB / 1.077 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.271, allocations: 4 kB / 1.077 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/1.272, allocations: 24.84 kB / 1.077 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/1.272, allocations: 75.83 kB / 1.077 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/1.273, allocations: 0.5553 MB / 1.077 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/1.273, allocations: 50.95 kB / 1.077 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/1.273, allocations: 11.88 kB / 1.077 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.273, allocations: 4 kB / 1.077 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006115/1.274, allocations: 230.9 kB / 1.078 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.274, allocations: 8.062 kB / 1.078 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.274, allocations: 4 kB / 1.078 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/1.274, allocations: 75.14 kB / 1.078 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.275, allocations: 11.94 kB / 1.078 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/1.275, allocations: 39.45 kB / 1.078 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/1.275, allocations: 15.38 kB / 1.078 GB, free: 1.273 MB / 0.6823 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.0001382/1.275, allocations: 124.2 kB / 1.078 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/1.275, allocations: 23.72 kB / 1.078 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/1.275, allocations: 28.7 kB / 1.078 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.275, allocations: 4 kB / 1.078 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.275, allocations: 0 / 1.078 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.275, allocations: 3.984 kB / 1.078 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/1.277, allocations: 0.7069 MB / 1.079 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.277, allocations: 4 kB / 1.079 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/1.277, allocations: 39.97 kB / 1.079 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/1.277, allocations: 32.66 kB / 1.079 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/1.277, allocations: 7.188 kB / 1.079 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/1.279, allocations: 1.338 MB / 1.08 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.279, allocations: 0 / 1.08 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/1.28, allocations: 341 kB / 1.08 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/1.28, allocations: 120.2 kB / 1.08 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/1.28, allocations: 7.672 kB / 1.08 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/1.28, allocations: 15.98 kB / 1.08 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/1.28, allocations: 15.92 kB / 1.08 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/1.28, allocations: 8 kB / 1.08 GB, free: 14.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002647/1.281, allocations: 184.2 kB / 1.081 GB, free: 14.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.281, allocations: 0 / 1.081 GB, free: 14.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008118/1.281, allocations: 142.4 kB / 1.081 GB, free: 14.16 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 () * 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.0001828/1.282, allocations: 110.1 kB / 1.081 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.283, allocations: 321.1 kB / 1.081 GB, free: 13.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.283, allocations: 0 / 1.081 GB, free: 13.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/1.283, allocations: 194.7 kB / 1.081 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/1.284, allocations: 59.77 kB / 1.081 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.285, allocations: 373.9 kB / 1.082 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/1.285, allocations: 0.8101 MB / 1.083 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005882/1.286, allocations: 89.91 kB / 1.083 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/1.286, allocations: 19.44 kB / 1.083 GB, free: 12.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.286, allocations: 3.938 kB / 1.083 GB, free: 12.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01159/1.298, allocations: 3.301 MB / 1.086 GB, free: 9.035 MB / 0.698 GB