Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.299/2.299, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.47e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3185, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4553, allocations: 75.47 MB / 369.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.4556, allocations: 67.97 kB / 369.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.137/0.5926, allocations: 31.92 MB / 401.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5927, allocations: 0 / 401.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.5929, allocations: 44 kB / 401.7 MB, free: 6.242 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.01138/0.6043, allocations: 2.29 MB / 404 MB, free: 3.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/0.6044, allocations: 12.03 kB / 404 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.6056, allocations: 249 kB / 404.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.6086, allocations: 0.9386 MB / 405.2 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.6088, allocations: 75.98 kB / 405.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000584/0.6094, allocations: 135.9 kB / 405.4 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005885/0.6153, allocations: 1.497 MB / 406.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/0.6228, allocations: 1.948 MB / 408.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/0.6229, allocations: 3.938 kB / 408.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.6233, allocations: 4 kB / 408.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.941e-05/0.6234, allocations: 56 kB / 408.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.656, allocations: 8.34 MB / 417.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008499/0.6646, allocations: 1.961 MB / 419.2 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/0.6686, allocations: 0.9563 MB / 420.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.669, allocations: 22 kB / 420.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003972/0.673, allocations: 0.8236 MB / 421 MB, free: 2.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 1.201e-05/0.6731, allocations: 0 / 421 MB, free: 2.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.01049/0.6836, allocations: 2.219 MB / 423.2 MB, free: 188 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.6837, allocations: 81.41 kB / 423.3 MB, free: 96 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2623/0.946, allocations: 0.7183 MB / 424 MB, free: 92.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004492/0.9465, allocations: 31.3 kB / 424.1 MB, free: 92.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009775/0.9475, allocations: 0.819 MB / 424.9 MB, free: 92.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.9486, allocations: 0.6363 MB / 425.5 MB, free: 91.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.9488, allocations: 2.719 kB / 425.5 MB, free: 91.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.949, allocations: 393.3 kB / 425.9 MB, free: 91.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.9506, allocations: 0.568 MB / 426.5 MB, free: 91.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.9527, allocations: 1.1 MB / 427.6 MB, free: 90.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.9547, allocations: 0.67 MB / 428.2 MB, free: 90.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.9547, allocations: 5.062 kB / 428.2 MB, free: 90.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008932/0.9637, allocations: 2.598 MB / 430.8 MB, free: 90.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.9638, allocations: 12.72 kB / 430.9 MB, free: 90.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/0.9639, allocations: 23.03 kB / 430.9 MB, free: 90.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005682/0.9695, allocations: 1.1 MB / 432 MB, free: 90.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.9716, allocations: 276.8 kB / 432.2 MB, free: 90.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0287/1, allocations: 21.44 MB / 453.7 MB, free: 74.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.003, allocations: 218.2 kB / 453.9 MB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005583/1.004, allocations: 86.84 kB / 454 MB, free: 74.26 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.0005664/1.004, allocations: 184 kB / 454.2 MB, free: 74.1 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007142/1.012, allocations: 2.232 MB / 456.4 MB, free: 73.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007553/1.012, allocations: 154.9 kB / 456.5 MB, free: 73.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/1.013, allocations: 176.5 kB / 456.7 MB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.013, allocations: 21.28 kB / 456.7 MB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-05/1.013, allocations: 15.16 kB / 456.8 MB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/1.013, allocations: 16.42 kB / 456.8 MB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/1.017, allocations: 1.611 MB / 458.4 MB, free: 72.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.017, allocations: 3.953 kB / 458.4 MB, free: 72.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.018, allocations: 132.8 kB / 458.5 MB, free: 72.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/1.024, allocations: 1.087 MB / 459.6 MB, free: 71.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/1.024, allocations: 10.44 kB / 459.6 MB, free: 71.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0279/1.052, allocations: 21.42 MB / 481 MB, free: 53.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/1.052, allocations: 3.938 kB / 481 MB, free: 53.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009643/1.062, allocations: 3.211 MB / 484.2 MB, free: 51.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.063, allocations: 418.5 kB / 484.7 MB, free: 51.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005379/1.064, allocations: 11.81 kB / 484.7 MB, free: 51.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.065, allocations: 80.75 kB / 484.7 MB, free: 51.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007921/1.066, allocations: 217.4 kB / 485 MB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.066, allocations: 52.94 kB / 485 MB, free: 51.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001562/1.068, allocations: 0.5108 MB / 485.5 MB, free: 51.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.068, allocations: 0 / 485.5 MB, free: 51.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006784/1.075, allocations: 0.6744 MB / 486.2 MB, free: 51.13 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.01572/1.091, allocations: 3.793 MB / 490 MB, free: 47.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.102, allocations: 3.579 MB / 493.6 MB, free: 43.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.102, allocations: 0.6875 kB / 493.6 MB, free: 43.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00591/1.108, allocations: 2.768 MB / 496.3 MB, free: 41.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/1.11, allocations: 278.4 kB / 496.6 MB, free: 41.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.121, allocations: 3.721 MB / 0.4886 GB, free: 37.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.122, allocations: 1.482 MB / 0.49 GB, free: 36.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001045/1.123, allocations: 128.3 kB / 0.4902 GB, free: 36.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.125, allocations: 0.6639 MB / 0.4908 GB, free: 35.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.114e-06/1.125, allocations: 0 / 0.4908 GB, free: 35.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/1.254, allocations: 41.58 MB / 0.5314 GB, free: 13.45 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/1.254, allocations: 142.2 kB / 0.5316 GB, free: 13.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.911/6.165, allocations: 4 kB / 0.5316 GB, free: 13.25 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat