Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.77/4.77, allocations: 404.1 MB / 411.3 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.464e-05, allocations: 4 kB / 0.4945 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.7559, allocations: 92.68 MB / 0.5851 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/1.082, allocations: 170.8 MB / 0.7518 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/1.082, allocations: 91.94 kB / 0.7519 GB, free: 7.145 MB / 0.6355 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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 1.319/2.402, allocations: 146.6 MB / 0.8951 GB, free: 70.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.916e-06/2.402, allocations: 0 / 0.8951 GB, free: 70.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004776/2.402, allocations: 83.86 kB / 0.8951 GB, free: 70.52 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01758/2.42, allocations: 3.683 MB / 0.8987 GB, free: 66.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/2.42, allocations: 12.03 kB / 0.8987 GB, free: 66.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03345/2.453, allocations: 3.195 MB / 0.9019 GB, free: 63.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/2.466, allocations: 2.565 MB / 0.9044 GB, free: 60.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005158/2.467, allocations: 385.8 kB / 0.9047 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/2.468, allocations: 140 kB / 0.9049 GB, free: 60.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01196/2.48, allocations: 3.446 MB / 0.9082 GB, free: 56.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/2.495, allocations: 3.603 MB / 0.9118 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/2.495, allocations: 0 / 0.9118 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/2.496, allocations: 4 kB / 0.9118 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/2.496, allocations: 152.8 kB / 0.9119 GB, free: 52.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03988/2.536, allocations: 10.02 MB / 0.9217 GB, free: 42.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/2.547, allocations: 2.607 MB / 0.9242 GB, free: 40.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/2.551, allocations: 1.069 MB / 0.9253 GB, free: 39.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/2.551, allocations: 21.3 kB / 0.9253 GB, free: 39.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003812/2.555, allocations: 1.374 MB / 0.9266 GB, free: 37.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 7.083e-06/2.555, allocations: 0 / 0.9266 GB, free: 37.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.04676/2.602, allocations: 8.493 MB / 0.9349 GB, free: 29.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002997/2.602, allocations: 0.8983 MB / 0.9358 GB, free: 28.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/2.606, allocations: 1.564 MB / 0.9373 GB, free: 26.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007806/2.607, allocations: 37.64 kB / 0.9374 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001898/2.609, allocations: 1.443 MB / 0.9388 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/2.61, allocations: 0.7812 MB / 0.9396 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/2.611, allocations: 0 / 0.9396 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001926/2.611, allocations: 398.7 kB / 0.9399 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/2.615, allocations: 1.364 MB / 0.9413 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/2.619, allocations: 1.738 MB / 0.943 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004177/2.624, allocations: 1.425 MB / 0.9444 GB, free: 19.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/2.624, allocations: 0 / 0.9444 GB, free: 19.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02305/2.647, allocations: 5.073 MB / 0.9493 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/2.647, allocations: 160.5 kB / 0.9495 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/2.647, allocations: 4 kB / 0.9495 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01937/2.666, allocations: 2.793 MB / 0.9522 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006516/2.673, allocations: 0.5735 MB / 0.9527 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0695/2.742, allocations: 16.38 MB / 0.9687 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008752/2.751, allocations: 379.5 kB / 0.9691 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008691/2.752, allocations: 87.97 kB / 0.9692 GB, free: 9.312 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001023/2.753, allocations: 165.5 kB / 0.9694 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02326/2.777, allocations: 4.768 MB / 0.974 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/2.778, allocations: 304.4 kB / 0.9743 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/2.78, allocations: 325.2 kB / 0.9746 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/2.78, allocations: 24 kB / 0.9746 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.849e-05/2.78, allocations: 12 kB / 0.9746 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/2.78, allocations: 11.95 kB / 0.9747 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009165/2.789, allocations: 3.262 MB / 0.9778 GB, free: 388 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/2.789, allocations: 0 / 0.9778 GB, free: 388 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00605/2.795, allocations: 0.5036 MB / 0.9783 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02046/2.816, allocations: 2.762 MB / 0.981 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007326/2.816, allocations: 11.98 kB / 0.981 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07174/2.888, allocations: 16.37 MB / 0.997 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/2.888, allocations: 0 / 0.997 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02259/2.911, allocations: 4.897 MB / 1.002 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003171/2.914, allocations: 0.673 MB / 1.002 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.915, allocations: 12 kB / 1.002 GB, free: 6.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007731/2.923, allocations: 375.5 kB / 1.003 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002408/2.926, allocations: 366.8 kB / 1.003 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005297/2.926, allocations: 71.97 kB / 1.003 GB, free: 6.047 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003233/2.929, allocations: 1.157 MB / 1.004 GB, free: 4.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.11e-07/2.93, allocations: 4 kB / 1.004 GB, free: 4.879 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005504/2.935, allocations: 0.9258 MB / 1.005 GB, free: 3.953 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.02366/2.959, allocations: 5.496 MB / 1.011 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.03489/2.994, allocations: 5.206 MB / 1.016 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/2.994, allocations: 4 kB / 1.016 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.02972/3.023, allocations: 3.355 MB / 1.019 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007808/3.031, allocations: 0.8598 MB / 1.02 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/3.053, allocations: 5.558 MB / 1.025 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003686/3.056, allocations: 2.296 MB / 1.028 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004695/3.061, allocations: 487.4 kB / 1.028 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004636/3.066, allocations: 1.315 MB / 1.029 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.784e-06/3.066, allocations: 0 / 1.029 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/4.424, allocations: 89.49 MB / 1.117 GB, free: 180.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000472/4.425, allocations: 147.3 kB / 1.117 GB, free: 180 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.738/12.16, allocations: 3.828 kB / 1.117 GB, free: 180 MB / 0.7448 GB