Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 404.2 MB / 411.3 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.903e-05/3.953e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6807, allocations: 92.69 MB / 0.5851 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2877/0.9685, allocations: 146.3 MB / 0.7279 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000437/0.969, allocations: 95.92 kB / 0.728 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07765/1.047, allocations: 16.29 MB / 0.7439 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/1.047, allocations: 0 / 0.7439 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.555e-05/1.047, allocations: 8 kB / 0.7439 GB, free: 15.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001223/1.048, allocations: 0.5138 MB / 0.7444 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.048, allocations: 8.031 kB / 0.7445 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/1.05, allocations: 99.56 kB / 0.7445 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/1.05, allocations: 258 kB / 0.7448 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/1.05, allocations: 8 kB / 0.7448 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/1.05, allocations: 12 kB / 0.7448 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007162/1.051, allocations: 232.9 kB / 0.745 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/1.052, allocations: 328.2 kB / 0.7453 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.052, allocations: 0 / 0.7453 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/1.052, allocations: 3.953 kB / 0.7454 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/1.052, allocations: 20.42 kB / 0.7454 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/1.055, allocations: 1.123 MB / 0.7465 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/1.056, allocations: 218.4 kB / 0.7467 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/1.056, allocations: 112.8 kB / 0.7468 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/1.056, allocations: 85.11 kB / 0.7469 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.056, allocations: 34.56 kB / 0.7469 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.286e-06/1.056, allocations: 0 / 0.7469 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.002422/1.059, allocations: 0.7157 MB / 0.7476 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/1.059, allocations: 55.41 kB / 0.7476 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/1.059, allocations: 157.5 kB / 0.7478 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/1.059, allocations: 29.7 kB / 0.7478 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/1.059, allocations: 167.8 kB / 0.748 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.42e-05/1.06, allocations: 63.09 kB / 0.748 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/1.06, allocations: 4 kB / 0.7481 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.06, allocations: 322.8 kB / 0.7484 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/1.06, allocations: 104 kB / 0.7485 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/1.06, allocations: 162 kB / 0.7486 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/1.061, allocations: 162.6 kB / 0.7488 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.061, allocations: 0 / 0.7488 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001493/1.063, allocations: 402 kB / 0.7492 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.063, allocations: 8 kB / 0.7492 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.063, allocations: 0 / 0.7492 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006762/1.063, allocations: 96.84 kB / 0.7493 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/1.064, allocations: 51.91 kB / 0.7493 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/1.067, allocations: 1.666 MB / 0.7509 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/1.068, allocations: 7.984 kB / 0.7509 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/1.068, allocations: 8 kB / 0.7509 GB, free: 7.586 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/1.068, allocations: 116.9 kB / 0.7511 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009452/1.069, allocations: 265.2 kB / 0.7513 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/1.069, allocations: 15.81 kB / 0.7513 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.07, allocations: 298.4 kB / 0.7516 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.07, allocations: 4 kB / 0.7516 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.07, allocations: 0 / 0.7516 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.07, allocations: 0 / 0.7516 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.072, allocations: 0.6605 MB / 0.7523 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.072, allocations: 4.062 kB / 0.7523 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/1.072, allocations: 55.89 kB / 0.7523 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.073, allocations: 4 kB / 0.7523 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.073, allocations: 4 kB / 0.7523 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.158e-05/1.073, allocations: 4 kB / 0.7523 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.073, allocations: 4.016 kB / 0.7523 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/1.074, allocations: 0.528 MB / 0.7528 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/1.074, allocations: 112.9 kB / 0.753 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/1.074, allocations: 7.938 kB / 0.753 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/1.075, allocations: 15.92 kB / 0.753 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/1.075, allocations: 19.83 kB / 0.753 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/1.075, allocations: 4 kB / 0.753 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001955/1.075, allocations: 136.3 kB / 0.7531 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.22e-07/1.075, allocations: 0 / 0.7531 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007019/1.076, allocations: 71.92 kB / 0.7532 GB, free: 5.156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001904/1.078, allocations: 1.226 MB / 0.7544 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.079, allocations: 397.4 kB / 0.7548 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.079, allocations: 3.938 kB / 0.7548 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/1.079, allocations: 112.3 kB / 0.7549 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/1.08, allocations: 36.03 kB / 0.7549 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/1.082, allocations: 0.5515 MB / 0.7555 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/1.082, allocations: 0.7789 MB / 0.7562 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003853/1.083, allocations: 58.02 kB / 0.7563 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/1.083, allocations: 67.41 kB / 0.7563 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/1.083, allocations: 4 kB / 0.7563 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/1.129, allocations: 4.108 MB / 0.7604 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003781/1.129, allocations: 165.7 kB / 0.7605 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.654/3.783, allocations: 0 / 0.7605 GB, free: 13.54 MB / 0.6511 GB