Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.693e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 44.49 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4622, allocations: 75.46 MB / 369.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4626, allocations: 75.95 kB / 369.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.6165, allocations: 31.91 MB / 401.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6166, allocations: 3.938 kB / 401.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.6168, allocations: 47.98 kB / 401.7 MB, free: 6.281 MB / 346.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.009506/0.6263, allocations: 2.282 MB / 404 MB, free: 3.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.6264, allocations: 8.031 kB / 404 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.6276, allocations: 253 kB / 404.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.6304, allocations: 0.9425 MB / 405.2 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.6306, allocations: 76 kB / 405.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005271/0.6312, allocations: 131.9 kB / 405.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005531/0.6367, allocations: 1.501 MB / 406.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006692/0.6434, allocations: 1.945 MB / 408.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.6436, allocations: 3.938 kB / 408.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.6439, allocations: 4 kB / 408.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.039e-05/0.644, allocations: 59.94 kB / 408.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02146/0.6654, allocations: 8.329 MB / 417.2 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/0.6709, allocations: 1.961 MB / 419.2 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002625/0.6736, allocations: 0.9603 MB / 420.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.6739, allocations: 22 kB / 420.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002333/0.6762, allocations: 0.8236 MB / 421 MB, free: 2.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 8.225e-06/0.6763, allocations: 0 / 421 MB, free: 2.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.007841/0.6841, allocations: 2.219 MB / 423.2 MB, free: 236 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.6843, allocations: 81.39 kB / 423.3 MB, free: 144 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2606/0.9448, allocations: 0.7158 MB / 424 MB, free: 91.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005106/0.9454, allocations: 31.05 kB / 424 MB, free: 91.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.9467, allocations: 0.8352 MB / 424.9 MB, free: 91.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001525/0.9482, allocations: 0.6337 MB / 425.5 MB, free: 91.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.9486, allocations: 2.875 kB / 425.5 MB, free: 91.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003726/0.949, allocations: 395.6 kB / 425.9 MB, free: 90.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.952, allocations: 0.5682 MB / 426.5 MB, free: 90.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.9546, allocations: 1.104 MB / 427.6 MB, free: 90.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.9567, allocations: 0.67 MB / 428.2 MB, free: 90.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/0.9567, allocations: 4.156 kB / 428.2 MB, free: 90.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008201/0.9649, allocations: 2.548 MB / 430.8 MB, free: 90.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.965, allocations: 12.25 kB / 430.8 MB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.9651, allocations: 16.69 kB / 430.8 MB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/0.9705, allocations: 1.101 MB / 431.9 MB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.9724, allocations: 277.2 kB / 432.2 MB, free: 89.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02705/0.9995, allocations: 21.45 MB / 453.6 MB, free: 73.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.002, allocations: 214.2 kB / 453.8 MB, free: 73.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004017/1.003, allocations: 89.34 kB / 453.9 MB, free: 73.79 MB / 362.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.000529/1.003, allocations: 190.7 kB / 454.1 MB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006833/1.01, allocations: 2.213 MB / 456.3 MB, free: 72.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/1.011, allocations: 158.7 kB / 456.5 MB, free: 72.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/1.011, allocations: 173.6 kB / 456.6 MB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.011, allocations: 18.91 kB / 456.7 MB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/1.011, allocations: 15.88 kB / 456.7 MB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.011, allocations: 14.16 kB / 456.7 MB, free: 72.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/1.014, allocations: 1.621 MB / 458.3 MB, free: 71.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.015, allocations: 3.953 kB / 458.3 MB, free: 71.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.016, allocations: 139.5 kB / 458.5 MB, free: 71.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/1.021, allocations: 1.079 MB / 459.5 MB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/1.021, allocations: 15 kB / 459.6 MB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/1.048, allocations: 21.42 MB / 481 MB, free: 52.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.048, allocations: 0 / 481 MB, free: 52.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00864/1.057, allocations: 3.213 MB / 484.2 MB, free: 51.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.058, allocations: 421.9 kB / 484.6 MB, free: 51.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/1.058, allocations: 10.53 kB / 484.6 MB, free: 51.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.06, allocations: 80.78 kB / 484.7 MB, free: 51.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/1.06, allocations: 216.2 kB / 484.9 MB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.061, allocations: 54.89 kB / 484.9 MB, free: 51.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008579/1.062, allocations: 0.509 MB / 485.5 MB, free: 50.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.062, allocations: 0 / 485.5 MB, free: 50.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003157/1.065, allocations: 0.6615 MB / 486.1 MB, free: 50.72 MB / 362.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.008657/1.073, allocations: 3.805 MB / 489.9 MB, free: 47.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007374/1.081, allocations: 3.582 MB / 493.5 MB, free: 43.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.081, allocations: 0.5625 kB / 493.5 MB, free: 43.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006065/1.087, allocations: 2.77 MB / 496.3 MB, free: 40.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.089, allocations: 282.8 kB / 496.6 MB, free: 40.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.1, allocations: 3.777 MB / 0.4886 GB, free: 37.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.101, allocations: 1.482 MB / 0.49 GB, free: 36.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/1.102, allocations: 0.673 MB / 0.4907 GB, free: 35.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/1.102, allocations: 0 / 0.4907 GB, free: 35.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.508/5.611, allocations: 119.8 MB / 0.6077 GB, free: 87.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat