Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/4.994e-05, allocations: 6.812 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.6082, allocations: 84.98 MB / 428.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.6086, allocations: 77.31 kB / 428.2 MB, free: 8.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07862/0.6872, allocations: 18.88 MB / 447.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6873, allocations: 0 / 447.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.6874, allocations: 32 kB / 447.1 MB, free: 8.863 MB / 362.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.003172/0.6906, allocations: 1.148 MB / 448.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6906, allocations: 8.031 kB / 448.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003815/0.691, allocations: 182.1 kB / 448.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.6914, allocations: 142.2 kB / 448.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.693, allocations: 0.6375 MB / 449.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.855e-05/0.6931, allocations: 88.28 kB / 449.3 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.6933, allocations: 120.5 kB / 449.4 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.6962, allocations: 1.201 MB / 450.6 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/0.6963, allocations: 11.88 kB / 450.6 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6965, allocations: 56.81 kB / 450.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.6965, allocations: 32 kB / 450.7 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.6985, allocations: 0.6045 MB / 451.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009829/0.7084, allocations: 6.852 MB / 458.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.7094, allocations: 253.3 kB / 458.4 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.7099, allocations: 161.7 kB / 458.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.71, allocations: 85.11 kB / 458.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.7101, allocations: 46.48 kB / 458.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.607e-06/0.7101, allocations: 0 / 458.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003101/0.7132, allocations: 1.262 MB / 460 MB, free: 12.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.7133, allocations: 81.11 kB / 460.1 MB, free: 12.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.7145, allocations: 0.5702 MB / 460.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.7145, allocations: 29.7 kB / 460.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/0.7152, allocations: 0.6798 MB / 461.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.7154, allocations: 126.3 kB / 461.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.7154, allocations: 16 kB / 461.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.7157, allocations: 386.7 kB / 461.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.7161, allocations: 125.8 kB / 462 MB, free: 10.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/0.7168, allocations: 0.5241 MB / 462.5 MB, free: 9.992 MB / 378.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.0009608/0.7178, allocations: 426.7 kB / 462.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.7178, allocations: 4 kB / 462.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00195/0.7198, allocations: 0.7281 MB / 463.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.7198, allocations: 8.938 kB / 463.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.7199, allocations: 16 kB / 463.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.7202, allocations: 89.77 kB / 463.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.7214, allocations: 183.7 kB / 463.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.7248, allocations: 2.954 MB / 466.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.7256, allocations: 35.98 kB / 466.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/0.7257, allocations: 44 kB / 467 MB, free: 5.199 MB / 378.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.0002547/0.726, allocations: 160.8 kB / 467.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.7262, allocations: 79.11 kB / 467.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.7264, allocations: 74.53 kB / 467.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.7264, allocations: 7.953 kB / 467.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.7264, allocations: 7.938 kB / 467.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.7265, allocations: 0 / 467.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.7292, allocations: 1.217 MB / 468.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.7292, allocations: 0 / 468.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/0.7299, allocations: 63.91 kB / 468.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.7302, allocations: 57.69 kB / 468.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.7302, allocations: 7.984 kB / 468.6 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.7331, allocations: 2.757 MB / 471.4 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7331, allocations: 0 / 471.4 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.7344, allocations: 0.6467 MB / 472.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.7346, allocations: 140.2 kB / 472.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.7347, allocations: 12 kB / 472.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.7352, allocations: 23.92 kB / 472.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.7353, allocations: 31.92 kB / 472.3 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.7353, allocations: 4 kB / 472.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000816/0.7362, allocations: 427.2 kB / 472.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7362, allocations: 0 / 472.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001248/0.7374, allocations: 160 kB / 472.8 MB, free: 14.92 MB / 394.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.001704/0.7392, allocations: 1.478 MB / 474.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.7406, allocations: 0.5809 MB / 474.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7407, allocations: 3.938 kB / 474.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.7413, allocations: 339.5 kB / 475.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.742, allocations: 71.58 kB / 475.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.7466, allocations: 1.517 MB / 476.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/0.7475, allocations: 1.058 MB / 477.9 MB, free: 9.703 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005287/0.7481, allocations: 86.02 kB / 478 MB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.7489, allocations: 419.3 kB / 478.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.7489, allocations: 0 / 478.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.8072, allocations: 12.39 MB / 490.8 MB, free: 12.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/0.8075, allocations: 181.2 kB / 490.9 MB, free: 12.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/3.978, allocations: 0 / 490.9 MB, free: 12.73 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat