Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.278/4.278, allocations: 432.8 MB / 444.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/3.977e-05, allocations: 2.656 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 98.72 MB / 0.6302 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.4907, allocations: 141.2 MB / 0.7681 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.4911, allocations: 79.95 kB / 0.7682 GB, free: 8.66 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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);. Notification: Performance of FrontEnd - DAE generated: time 0.02331/0.5144, allocations: 5.531 MB / 0.7736 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5145, allocations: 0 / 0.7736 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5145, allocations: 0 / 0.7736 GB, free: 3.047 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008082/0.5153, allocations: 461.7 kB / 0.774 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5154, allocations: 8.031 kB / 0.7741 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.442e-05/0.5155, allocations: 50.53 kB / 0.7741 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.5158, allocations: 27.77 kB / 0.7741 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.5161, allocations: 209.1 kB / 0.7743 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.5162, allocations: 37.83 kB / 0.7744 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.5163, allocations: 8 kB / 0.7744 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.5167, allocations: 136.8 kB / 0.7745 GB, free: 2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5167, allocations: 0 / 0.7745 GB, free: 2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.5168, allocations: 7.953 kB / 0.7745 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.5168, allocations: 16.16 kB / 0.7745 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.5171, allocations: 76.3 kB / 0.7746 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.5183, allocations: 0.6334 MB / 0.7752 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.5186, allocations: 46.62 kB / 0.7753 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.5187, allocations: 24.92 kB / 0.7753 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.5187, allocations: 0 / 0.7753 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.519, allocations: 138.8 kB / 0.7754 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 4.789e-06/0.519, allocations: 4 kB / 0.7754 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003767/0.5194, allocations: 127.1 kB / 0.7755 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5195, allocations: 136.5 kB / 0.7757 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.5198, allocations: 161.5 kB / 0.7758 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5198, allocations: 25.7 kB / 0.7759 GB, free: 476 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5199, allocations: 143.7 kB / 0.776 GB, free: 324 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.52, allocations: 23.73 kB / 0.776 GB, free: 300 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.52, allocations: 0 / 0.776 GB, free: 300 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.614/1.134, allocations: 326.8 kB / 0.7763 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/1.134, allocations: 28.31 kB / 0.7763 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/1.134, allocations: 102.9 kB / 0.7764 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/1.135, allocations: 104 kB / 0.7765 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.135, allocations: 0.7812 kB / 0.7765 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005314/1.135, allocations: 222.9 kB / 0.7768 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/1.135, allocations: 62.12 kB / 0.7768 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.135, allocations: 3.297 kB / 0.7768 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/1.135, allocations: 3.719 kB / 0.7768 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/1.136, allocations: 33.55 kB / 0.7769 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.136, allocations: 6.453 kB / 0.7769 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/1.136, allocations: 29.5 kB / 0.7769 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/1.136, allocations: 12.64 kB / 0.7769 GB, free: 142.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001291/1.136, allocations: 143.6 kB / 0.777 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/1.136, allocations: 12 kB / 0.7771 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/1.136, allocations: 16.02 kB / 0.7771 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/1.136, allocations: 1.953 kB / 0.7771 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.136, allocations: 0 / 0.7771 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.136, allocations: 3.031 kB / 0.7771 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/1.137, allocations: 218.1 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.137, allocations: 2.938 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/1.137, allocations: 10.5 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/1.137, allocations: 1.609 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/1.137, allocations: 7.062 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.137, allocations: 2.203 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.137, allocations: 2.938 kB / 0.7773 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/1.137, allocations: 197.9 kB / 0.7775 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/1.138, allocations: 87.92 kB / 0.7776 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/1.138, allocations: 6.516 kB / 0.7776 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.138, allocations: 17.7 kB / 0.7776 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/1.138, allocations: 12.75 kB / 0.7776 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/1.138, allocations: 3.078 kB / 0.7776 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001676/1.138, allocations: 129.4 kB / 0.7777 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.138, allocations: 0 / 0.7777 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004292/1.139, allocations: 36.5 kB / 0.7778 GB, free: 141.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007727/1.139, allocations: 0.747 MB / 0.7785 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000411/1.14, allocations: 201.5 kB / 0.7787 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.14, allocations: 0 / 0.7787 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/1.14, allocations: 100.7 kB / 0.7788 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/1.14, allocations: 16.92 kB / 0.7788 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/1.141, allocations: 230.9 kB / 0.779 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/1.142, allocations: 0.7222 MB / 0.7797 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001567/1.142, allocations: 22.2 kB / 0.7798 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/1.142, allocations: 35.11 kB / 0.7798 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.142, allocations: 1.031 kB / 0.7798 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/1.167, allocations: 2.636 MB / 0.7824 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.167, allocations: 171.3 kB / 0.7825 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/3.447, allocations: 3.938 kB / 0.7825 GB, free: 139.4 MB / 0.6511 GB