Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.87e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5299, allocations: 83.34 MB / 400.4 MB, free: 4.383 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5302, allocations: 70.84 kB / 400.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07988/0.6101, allocations: 18.52 MB / 418.9 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6102, allocations: 0 / 418.9 MB, free: 4.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001437/0.6103, allocations: 32 kB / 419 MB, free: 4.625 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003778/0.6141, allocations: 1.147 MB / 420.1 MB, free: 3.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.6142, allocations: 12.03 kB / 420.1 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005285/0.6148, allocations: 177 kB / 420.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.6152, allocations: 154.1 kB / 420.5 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.617, allocations: 0.6268 MB / 421.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.6172, allocations: 87.78 kB / 421.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.6175, allocations: 124.9 kB / 421.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.6209, allocations: 1.215 MB / 422.5 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/0.621, allocations: 7.938 kB / 422.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.6211, allocations: 51.06 kB / 422.6 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.6212, allocations: 32 kB / 422.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.6235, allocations: 0.6071 MB / 423.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.634, allocations: 6.854 MB / 430.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.635, allocations: 243.1 kB / 430.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.6355, allocations: 177 kB / 430.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.6357, allocations: 89.09 kB / 430.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.6358, allocations: 41.64 kB / 430.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.046e-06/0.6358, allocations: 0 / 430.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.003496/0.6393, allocations: 1.267 MB / 431.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.6394, allocations: 88.98 kB / 431.9 MB, free: 8.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6406, allocations: 0.5638 MB / 432.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.012e-05/0.6407, allocations: 29.2 kB / 432.5 MB, free: 8.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.6413, allocations: 0.6782 MB / 433.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.6415, allocations: 122.1 kB / 433.3 MB, free: 7.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.6416, allocations: 12.94 kB / 433.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.6419, allocations: 389.2 kB / 433.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.6423, allocations: 129.2 kB / 433.9 MB, free: 7.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.643, allocations: 0.5158 MB / 434.4 MB, free: 6.562 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.6441, allocations: 437.5 kB / 434.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.6441, allocations: 11.92 kB / 434.8 MB, free: 6.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002033/0.6462, allocations: 0.7109 MB / 435.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.6463, allocations: 16.03 kB / 435.5 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.6463, allocations: 16 kB / 435.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.6467, allocations: 79.19 kB / 435.6 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6478, allocations: 183.3 kB / 435.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.6514, allocations: 2.968 MB / 438.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.6522, allocations: 29.56 kB / 438.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/0.6523, allocations: 46.38 kB / 438.9 MB, free: 2.191 MB / 346.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.6526, allocations: 170.7 kB / 439 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.6528, allocations: 75.06 kB / 439.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.653, allocations: 71.59 kB / 439.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.653, allocations: 4 kB / 439.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.6531, allocations: 4 kB / 439.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6531, allocations: 0 / 439.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.656, allocations: 1.226 MB / 440.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.656, allocations: 0 / 440.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.6567, allocations: 67.89 kB / 440.5 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.657, allocations: 53.48 kB / 440.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.6571, allocations: 11.86 kB / 440.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.66, allocations: 2.751 MB / 443.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.6601, allocations: 4.031 kB / 443.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.6614, allocations: 0.6534 MB / 443.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.6617, allocations: 140.2 kB / 444.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.6618, allocations: 11.19 kB / 444.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.6623, allocations: 23.62 kB / 444.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6624, allocations: 19.47 kB / 444.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.6625, allocations: 12 kB / 444.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008242/0.6633, allocations: 423.9 kB / 444.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6633, allocations: 0 / 444.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001434/0.6648, allocations: 158.5 kB / 444.7 MB, free: 12.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/0.6667, allocations: 1.465 MB / 446.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.6684, allocations: 0.5984 MB / 446.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6684, allocations: 0 / 446.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.6692, allocations: 333.7 kB / 447.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.6699, allocations: 75.31 kB / 447.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.675, allocations: 1.517 MB / 448.7 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/0.676, allocations: 1.066 MB / 449.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005747/0.6766, allocations: 82.03 kB / 449.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006654/0.6773, allocations: 420.7 kB / 450.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6773, allocations: 0 / 450.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05683/0.7341, allocations: 12.37 MB / 462.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/0.7346, allocations: 185.3 kB / 462.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/3.808, allocations: 0 / 462.8 MB, free: 11.11 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat