Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.568e-05, allocations: 7.438 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2583, allocations: 38.77 MB / 263.9 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.4332, allocations: 71.04 MB / 334.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.4335, allocations: 63.97 kB / 335 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1427/0.5763, allocations: 32.95 MB / 367.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5763, allocations: 0 / 367.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001583/0.5765, allocations: 44 kB / 367.9 MB, free: 1.43 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.2868/0.8634, allocations: 2.277 MB / 370.2 MB, free: 72.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.8634, allocations: 9.531 kB / 370.2 MB, free: 72.66 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001208/0.8647, allocations: 308.5 kB / 370.5 MB, free: 72.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.8657, allocations: 252.7 kB / 370.8 MB, free: 72.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.8688, allocations: 0.9414 MB / 371.7 MB, free: 72.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.8692, allocations: 167.2 kB / 371.9 MB, free: 72.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008394/0.87, allocations: 227.6 kB / 372.1 MB, free: 72.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006755/0.8768, allocations: 2.232 MB / 374.3 MB, free: 71.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-05/0.8769, allocations: 9.328 kB / 374.4 MB, free: 71.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.8773, allocations: 88.88 kB / 374.4 MB, free: 71.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.8773, allocations: 57.94 kB / 374.5 MB, free: 71.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.8821, allocations: 1.603 MB / 376.1 MB, free: 71.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.9002, allocations: 8.688 MB / 384.8 MB, free: 68.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004914/0.9052, allocations: 2.029 MB / 386.8 MB, free: 67.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.9076, allocations: 1.01 MB / 387.8 MB, free: 67.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.9078, allocations: 23.56 kB / 387.8 MB, free: 67.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/0.9101, allocations: 0.8745 MB / 388.7 MB, free: 66.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 6.503e-06/0.9102, allocations: 0 / 388.7 MB, free: 66.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.007473/0.9177, allocations: 2.397 MB / 391.1 MB, free: 65.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.9178, allocations: 82.81 kB / 391.2 MB, free: 65.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.9194, allocations: 0.8356 MB / 392 MB, free: 65.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004027/0.9199, allocations: 70.67 kB / 392.1 MB, free: 65.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.9205, allocations: 0.8055 MB / 392.9 MB, free: 64.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008147/0.9213, allocations: 0.6636 MB / 393.6 MB, free: 64.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.9215, allocations: 47.75 kB / 393.6 MB, free: 64.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9217, allocations: 395.6 kB / 394 MB, free: 63.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.9234, allocations: 0.6132 MB / 394.6 MB, free: 63.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.9254, allocations: 1.147 MB / 395.8 MB, free: 62.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.9274, allocations: 0.7301 MB / 396.5 MB, free: 62.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.9274, allocations: 3.562 kB / 396.5 MB, free: 62.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008138/0.9356, allocations: 2.767 MB / 399.3 MB, free: 61.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.9357, allocations: 14.59 kB / 399.3 MB, free: 61.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.9357, allocations: 15.34 kB / 399.3 MB, free: 61.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005605/0.9413, allocations: 1.16 MB / 400.5 MB, free: 60.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.9431, allocations: 285.7 kB / 400.7 MB, free: 60.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.971, allocations: 22.24 MB / 423 MB, free: 37.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.9738, allocations: 271.4 kB / 423.2 MB, free: 37.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/0.9742, allocations: 88 kB / 423.3 MB, free: 37.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005304/0.9747, allocations: 259.2 kB / 423.6 MB, free: 36.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.9752, allocations: 158.1 kB / 423.7 MB, free: 36.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.9757, allocations: 213 kB / 423.9 MB, free: 36.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.9757, allocations: 20 kB / 424 MB, free: 36.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.683e-05/0.9758, allocations: 20 kB / 424 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.9758, allocations: 10.88 kB / 424 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00355/0.9794, allocations: 1.886 MB / 425.9 MB, free: 34.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/0.9795, allocations: 4 kB / 425.9 MB, free: 34.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.9809, allocations: 128.4 kB / 426 MB, free: 34.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005482/0.9865, allocations: 1.157 MB / 427.2 MB, free: 33.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004193/0.9869, allocations: 43.66 kB / 427.2 MB, free: 33.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02852/1.015, allocations: 22.23 MB / 449.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.016, allocations: 3.938 kB / 449.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009897/1.025, allocations: 3.413 MB / 452.8 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.027, allocations: 427.4 kB / 453.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/1.027, allocations: 39.94 kB / 453.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.029, allocations: 117.7 kB / 453.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000719/1.03, allocations: 206 kB / 453.6 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.03, allocations: 51.47 kB / 453.7 MB, free: 6.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001099/1.031, allocations: 0.6151 MB / 454.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.031, allocations: 0 / 454.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003438/1.035, allocations: 0.7642 MB / 455 MB, free: 5.594 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/1.045, allocations: 4.032 MB / 459.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008578/1.053, allocations: 3.674 MB / 462.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.054, allocations: 0.5625 kB / 462.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006999/1.061, allocations: 2.82 MB / 465.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.063, allocations: 345.1 kB / 465.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.075, allocations: 3.949 MB / 469.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.077, allocations: 1.485 MB / 471.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.079, allocations: 0.6742 MB / 472 MB, free: 5.672 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/1.079, allocations: 3.938 kB / 472 MB, free: 5.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.399/5.478, allocations: 120.6 MB / 0.5788 GB, free: 46.49 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat