Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.735/2.735, allocations: 321 MB / 328.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.838e-05, allocations: 0 / 403.9 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 73.41 MB / 477.3 MB, free: 6.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.596, allocations: 126.5 MB / 0.5897 GB, free: 11.54 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.5963, allocations: 86.39 kB / 0.5897 GB, free: 11.5 MB / 474.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 3.0.0/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/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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: time 0.08205/0.6784, allocations: 22.37 MB / 0.6116 GB, free: 9.266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.048e-05/0.6785, allocations: 27.92 kB / 0.6116 GB, free: 9.238 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001915/0.6804, allocations: 0.8763 MB / 0.6125 GB, free: 8.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6805, allocations: 8.031 kB / 0.6125 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00097/0.6815, allocations: 142.8 kB / 0.6126 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.6826, allocations: 498.5 kB / 0.6131 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.6827, allocations: 28 kB / 0.6131 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.6829, allocations: 48 kB / 0.6132 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/0.6844, allocations: 0.5742 MB / 0.6137 GB, free: 7.316 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.6863, allocations: 0.8868 MB / 0.6146 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.6864, allocations: 4 kB / 0.6146 GB, free: 6.551 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6865, allocations: 11.31 kB / 0.6146 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.077e-05/0.6866, allocations: 42 kB / 0.6146 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005885/0.6925, allocations: 3.827 MB / 0.6184 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009101/0.6934, allocations: 0.6227 MB / 0.619 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.6939, allocations: 169 kB / 0.6191 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/0.6959, allocations: 1.073 MB / 0.6202 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.6962, allocations: 169.6 kB / 0.6204 GB, free: 1.047 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.815e-06/0.6963, allocations: 0 / 0.6204 GB, free: 1.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.000688/0.697, allocations: 249.8 kB / 0.6206 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.697, allocations: 63.14 kB / 0.6207 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.6976, allocations: 394.1 kB / 0.621 GB, free: 472 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.6977, allocations: 37.58 kB / 0.6211 GB, free: 428 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.698, allocations: 402 kB / 0.6215 GB, free: 96 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.6982, allocations: 93.16 kB / 0.6215 GB, free: 16 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.6982, allocations: 4 kB / 0.6215 GB, free: 12 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6984, allocations: 359.5 kB / 0.6219 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.6987, allocations: 113.4 kB / 0.622 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.6992, allocations: 392.2 kB / 0.6224 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.6996, allocations: 164.2 kB / 0.6225 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6997, allocations: 4 kB / 0.6225 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001185/0.7008, allocations: 0.5017 MB / 0.623 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/0.7022, allocations: 3.483 MB / 0.6264 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.7023, allocations: 11.94 kB / 0.6264 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.7023, allocations: 12 kB / 0.6264 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.7028, allocations: 83.14 kB / 0.6265 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.7028, allocations: 15.94 kB / 0.6265 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.7034, allocations: 35.67 kB / 0.6266 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.7035, allocations: 35 kB / 0.6266 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7036, allocations: 10.19 kB / 0.6266 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009962/0.7046, allocations: 405 kB / 0.627 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7046, allocations: 8.969 kB / 0.627 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.7046, allocations: 16 kB / 0.627 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.7051, allocations: 86.27 kB / 0.6271 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.7051, allocations: 19.94 kB / 0.6271 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.7055, allocations: 31.69 kB / 0.6272 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.7056, allocations: 31.81 kB / 0.6272 GB, free: 10.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.THold.enableFire,$PRE.TOn.enableFire,$PRE.TDischarge.enableFire,$PRE.TOff.enableFire,$PRE.off.oldActive,off.oldActive,$PRE.charge.oldActive,charge.oldActive,$PRE.discharge.oldActive,discharge.oldActive,$PRE.hold.oldActive,hold.oldActive,off.outPort[1].checkOneDelayedTransitionPerLoop,discharge.outPort[1].checkOneDelayedTransitionPerLoop,off.node.resume,off.node.suspend,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,$PRE.off.newActive,off.newActive,off.activePort,THold.enableFire,THold.conditionPort,$PRE.charge.newActive,charge.newActive,charge.inport_fire,charge.activePort,TOn.enableFire,TOn.conditionPort,$PRE.discharge.newActive,discharge.newActive,discharge.outport_fire,discharge.activePort,hold.active,$PRE.hold.newActive,hold.newActive,hold.inport_fire,hold.outport_fire,TDischarge.enableFire,TDischarge.conditionPort,TOff.enableFire,TOff.conditionPort,hold.inPort[1].checkUnaryConnection,TOn.outPort.checkOneDelayedTransitionPerLoop,charge.outPort[1].checkOneDelayedTransitionPerLoop,hold.outPort[1].checkOneDelayedTransitionPerLoop,off.inPort[1].checkUnaryConnection,discharge.inPort[1].checkUnaryConnection,charge.inPort[1].checkUnaryConnection,TOff.condition,TDischarge.condition,TOn.condition,THold.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.7058, allocations: 157.3 kB / 0.6273 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005887/0.7064, allocations: 246.2 kB / 0.6276 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.7065, allocations: 51.44 kB / 0.6276 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.7073, allocations: 273.4 kB / 0.6279 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.7073, allocations: 7.953 kB / 0.6279 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.7073, allocations: 4 kB / 0.6279 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7073, allocations: 0 / 0.6279 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.7081, allocations: 491 kB / 0.6284 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7081, allocations: 0 / 0.6284 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.7084, allocations: 27.92 kB / 0.6284 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.7084, allocations: 8.031 kB / 0.6284 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.7085, allocations: 11.17 kB / 0.6284 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.7085, allocations: 8 kB / 0.6284 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7085, allocations: 0 / 0.6284 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.7094, allocations: 422.5 kB / 0.6288 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.7096, allocations: 143.1 kB / 0.629 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.7097, allocations: 8.062 kB / 0.629 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.7099, allocations: 11.06 kB / 0.629 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7101, allocations: 35.2 kB / 0.629 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.7101, allocations: 11.25 kB / 0.629 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003033/0.7104, allocations: 240.1 kB / 0.6292 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7105, allocations: 0 / 0.6292 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001075/0.7115, allocations: 218.9 kB / 0.6295 GB, free: 8.184 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 27 ($whenCondition1,bat.cha.underCharged,bat.cha.overCharged,off.newActive,off.oldActive,off.activePort,THold.enableFire,THold.conditionPort,charge.newActive,charge.oldActive,charge.inport_fire,charge.activePort,TOn.enableFire,TOn.conditionPort,discharge.newActive,discharge.oldActive,discharge.outport_fire,discharge.activePort,hold.active,hold.newActive,hold.oldActive,hold.inport_fire,hold.outport_fire,TDischarge.enableFire,TDischarge.conditionPort,TOff.enableFire,TOff.conditionPort) * Number of discrete states: 6 (off.newActive,charge.newActive,discharge.newActive,hold.newActive,bat.cha.underCharged,bat.cha.overCharged) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.7128, allocations: 1.05 MB / 0.6305 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.7141, allocations: 0.573 MB / 0.631 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.7141, allocations: 5.75 kB / 0.631 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.7144, allocations: 119.7 kB / 0.6312 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.7151, allocations: 87.44 kB / 0.6312 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.7176, allocations: 0.8858 MB / 0.6321 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/0.7183, allocations: 0.9787 MB / 0.6331 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006808/0.719, allocations: 124.5 kB / 0.6332 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.7195, allocations: 245.7 kB / 0.6334 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.7195, allocations: 0 / 0.6334 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.7819, allocations: 9.804 MB / 0.643 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004771/0.7867, allocations: 137.9 kB / 0.6431 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.074/3.861, allocations: 3.266 kB / 0.6431 GB, free: 10.65 MB / 0.5105 GB