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.793/2.793, allocations: 321 MB / 328.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.059e-05, allocations: 4 kB / 403.9 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 73.39 MB / 477.3 MB, free: 6.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.6227, allocations: 104.4 MB / 0.568 GB, free: 15.42 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.6231, allocations: 95.55 kB / 0.5681 GB, free: 15.36 MB / 458.7 MB [/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/Examples/ChillerPlant/BaseClasses/Controls/BatteryControl.mo:163:3-166:27:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd: time 0.03444/0.6576, allocations: 9.055 MB / 0.577 GB, free: 7.957 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.839e-05/0.6577, allocations: 16 kB / 0.577 GB, free: 7.941 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001441/0.6591, allocations: 0.6991 MB / 0.5777 GB, free: 7.238 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6592, allocations: 12.03 kB / 0.5777 GB, free: 7.227 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.6594, allocations: 63.25 kB / 0.5777 GB, free: 7.164 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.6604, allocations: 433.8 kB / 0.5781 GB, free: 6.785 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.6604, allocations: 20 kB / 0.5782 GB, free: 6.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6606, allocations: 36 kB / 0.5782 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/0.6618, allocations: 451.1 kB / 0.5786 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.6632, allocations: 0.636 MB / 0.5792 GB, free: 5.926 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.6633, allocations: 3.938 kB / 0.5793 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.6633, allocations: 11.92 kB / 0.5793 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.6634, allocations: 21 kB / 0.5793 GB, free: 5.891 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/0.6678, allocations: 2.732 MB / 0.5819 GB, free: 3.465 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.6684, allocations: 238.3 kB / 0.5822 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.6686, allocations: 107.9 kB / 0.5823 GB, free: 3.238 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.6687, allocations: 16.25 kB / 0.5823 GB, free: 3.223 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.6691, allocations: 178 kB / 0.5825 GB, free: 3.082 MB / 458.7 MB Notification: Performance of pre-optimization done (n=36): time 3.436e-06/0.6691, allocations: 0 / 0.5825 GB, free: 3.082 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007981/0.6699, allocations: 276.8 kB / 0.5827 GB, free: 2.859 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.67, allocations: 110.8 kB / 0.5828 GB, free: 2.727 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.6705, allocations: 297.9 kB / 0.5831 GB, free: 2.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.6705, allocations: 33.7 kB / 0.5832 GB, free: 2.465 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.6708, allocations: 272.6 kB / 0.5834 GB, free: 2.234 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.6709, allocations: 80.78 kB / 0.5835 GB, free: 2.168 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.671, allocations: 4 kB / 0.5835 GB, free: 2.164 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6711, allocations: 340.5 kB / 0.5838 GB, free: 1.836 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.6714, allocations: 130.8 kB / 0.5839 GB, free: 1.758 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.6719, allocations: 331 kB / 0.5843 GB, free: 1.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.6724, allocations: 156.9 kB / 0.5844 GB, free: 1.301 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.6725, allocations: 4 kB / 0.5844 GB, free: 1.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001148/0.6736, allocations: 467.1 kB / 0.5849 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.6737, allocations: 8 kB / 0.5849 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.6737, allocations: 8 kB / 0.5849 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.6737, allocations: 8 kB / 0.5849 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.674, allocations: 54.66 kB / 0.5849 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.6741, allocations: 19.88 kB / 0.585 GB, free: 0.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.6746, allocations: 36.09 kB / 0.585 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.6747, allocations: 27.44 kB / 0.585 GB, free: 0.7734 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.con.T1.enableFire,$PRE.con.T3.enableFire,$PRE.con.T2.enableFire,$PRE.con.T4.enableFire,$PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.multiSwitch1.u[3],$PRE.con.off.oldActive,con.off.oldActive,$PRE.con.charge.oldActive,con.charge.oldActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.off.node.resume,con.off.node.suspend,$whenCondition2,$whenCondition1,con.off.outPort[2].available,$PRE.con.off.newActive,con.off.newActive,con.off.inport_fire,con.off.outport_fire,con.T1.fire,con.T1.enableFire,$PRE.con.T1.t_start,con.T1.t_start,con.T1.conditionPort,$PRE.con.charge.newActive,con.charge.newActive,con.charge.inport_fire,con.charge.outport_fire,con.T3.enableFire,con.T3.conditionPort,$PRE.con.discharge.newActive,con.discharge.newActive,con.discharge.inport_fire,con.discharge.outport_fire,con.and1.u1,con.and1.u2,con.T2.fire,con.T2.enableFire,$PRE.con.T2.t_start,con.T2.t_start,con.T2.conditionPort,con.and2.u2,con.T4.enableFire,con.T4.conditionPort,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.u[3],con.multiSwitch1.firstActiveIndex,con.T2.outPort.checkOneDelayedTransitionPerLoop,con.T1.outPort.checkOneDelayedTransitionPerLoop,con.charge.outPort[1].checkOneDelayedTransitionPerLoop,con.discharge.outPort[1].checkOneDelayedTransitionPerLoop,con.off.outPort[2].checkOneDelayedTransitionPerLoop,con.off.inPort[2].checkUnaryConnection,con.off.inPort[1].checkUnaryConnection,con.discharge.inPort[1].checkUnaryConnection,con.charge.inPort[1].checkUnaryConnection,con.T4.condition,con.T2.condition,con.T3.condition,con.T1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.000234/0.6749, allocations: 163.6 kB / 0.5852 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006824/0.6756, allocations: 264.9 kB / 0.5854 GB, free: 412 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.6757, allocations: 39.53 kB / 0.5855 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008414/0.6765, allocations: 298.1 kB / 0.5857 GB, free: 144 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6766, allocations: 4 kB / 0.5857 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6766, allocations: 0 / 0.5857 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6766, allocations: 4 kB / 0.5857 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.6783, allocations: 0.7992 MB / 0.5865 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6783, allocations: 0 / 0.5865 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.6785, allocations: 23.11 kB / 0.5866 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.6785, allocations: 7.953 kB / 0.5866 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.6786, allocations: 3.984 kB / 0.5866 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.6786, allocations: 4 kB / 0.5866 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6786, allocations: 0 / 0.5866 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.6793, allocations: 374.8 kB / 0.5869 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.6795, allocations: 137.2 kB / 0.5871 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.6796, allocations: 11.27 kB / 0.5871 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.68, allocations: 27.97 kB / 0.5871 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.6802, allocations: 45.92 kB / 0.5871 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.6802, allocations: 11.31 kB / 0.5871 GB, free: 14.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002293/0.6805, allocations: 178.5 kB / 0.5873 GB, free: 14.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.224e-06/0.6805, allocations: 0 / 0.5873 GB, free: 14.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007059/0.6812, allocations: 83.86 kB / 0.5874 GB, free: 14.67 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (con.T2.enableFire,con.T1.enableFire,$whenCondition2,$whenCondition1,con.off.outPort[2].available,con.off.newActive,con.off.oldActive,con.off.inport_fire,con.off.outport_fire,con.T1.fire,con.T1.t_start,con.T1.conditionPort,con.charge.newActive,con.charge.oldActive,con.charge.inport_fire,con.charge.outport_fire,con.T3.enableFire,con.T3.conditionPort,con.discharge.newActive,con.discharge.oldActive,con.discharge.inport_fire,con.discharge.outport_fire,con.and1.u1,con.and1.u2,con.T2.fire,con.T2.t_start,con.T2.conditionPort,con.and2.u2,con.T4.enableFire,con.T4.conditionPort,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.u[3],con.multiSwitch1.firstActiveIndex) * Number of discrete states: 3 (con.discharge.newActive,con.charge.newActive,con.off.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001244/0.6825, allocations: 0.9365 MB / 0.5883 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.6833, allocations: 341.6 kB / 0.5886 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6833, allocations: 0 / 0.5886 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.6836, allocations: 148.9 kB / 0.5888 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.684, allocations: 35.84 kB / 0.5888 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.6865, allocations: 0.7266 MB / 0.5895 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.6871, allocations: 0.8785 MB / 0.5904 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003632/0.6875, allocations: 71.22 kB / 0.5904 GB, free: 11.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.6878, allocations: 172.1 kB / 0.5906 GB, free: 11.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6878, allocations: 0 / 0.5906 GB, free: 11.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.744, allocations: 7.147 MB / 0.5976 GB, free: 4.613 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004784/0.7489, allocations: 168.6 kB / 0.5978 GB, free: 4.426 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.85/3.599, allocations: 3.5 kB / 0.5978 GB, free: 4.426 MB / 474.7 MB