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.901/1.901, allocations: 171.2 MB / 178.8 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.298e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2777, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4087, allocations: 70.36 MB / 328.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4089, allocations: 63.97 kB / 328.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1658/0.5747, allocations: 32.57 MB / 361.3 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5748, allocations: 0 / 361.3 MB, free: 6.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001867/0.575, allocations: 44 kB / 361.4 MB, free: 6.66 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.009701/0.5847, allocations: 2.29 MB / 363.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.5848, allocations: 8.031 kB / 363.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.5859, allocations: 253 kB / 363.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.5886, allocations: 0.9387 MB / 364.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.5888, allocations: 75.98 kB / 364.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007527/0.5896, allocations: 135.9 kB / 365 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005782/0.5954, allocations: 1.497 MB / 366.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2293/0.8248, allocations: 1.942 MB / 368.5 MB, free: 74.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.275e-05/0.8249, allocations: 7.188 kB / 368.5 MB, free: 74.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.8252, allocations: 7.922 kB / 368.5 MB, free: 74.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.8253, allocations: 54.5 kB / 368.6 MB, free: 74.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.8454, allocations: 8.32 MB / 376.9 MB, free: 71.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004953/0.8504, allocations: 1.962 MB / 378.8 MB, free: 71.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.8527, allocations: 0.9535 MB / 379.8 MB, free: 71.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.8529, allocations: 24.5 kB / 379.8 MB, free: 71.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.8549, allocations: 0.816 MB / 380.6 MB, free: 71.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 5.561e-06/0.8549, allocations: 0 / 380.6 MB, free: 71.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.00673/0.8617, allocations: 2.228 MB / 382.9 MB, free: 70.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.8618, allocations: 87.52 kB / 382.9 MB, free: 70.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.8631, allocations: 0.72 MB / 383.7 MB, free: 70.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003756/0.8636, allocations: 29.36 kB / 383.7 MB, free: 70.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/0.8642, allocations: 0.826 MB / 384.5 MB, free: 69.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008379/0.8651, allocations: 0.6462 MB / 385.2 MB, free: 69.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.8652, allocations: 7 kB / 385.2 MB, free: 69.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.8654, allocations: 390.4 kB / 385.6 MB, free: 68.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.8669, allocations: 0.5675 MB / 386.1 MB, free: 68.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.8687, allocations: 1.104 MB / 387.2 MB, free: 67.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.8703, allocations: 0.6707 MB / 387.9 MB, free: 67.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.8704, allocations: 10.5 kB / 387.9 MB, free: 67.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007373/0.8777, allocations: 2.535 MB / 390.4 MB, free: 66.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.8779, allocations: 13.53 kB / 390.5 MB, free: 66.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.8779, allocations: 19.44 kB / 390.5 MB, free: 66.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005105/0.883, allocations: 1.102 MB / 391.6 MB, free: 66.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.8848, allocations: 281.6 kB / 391.8 MB, free: 66.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/0.9111, allocations: 21.43 MB / 413.3 MB, free: 47.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.9136, allocations: 214.6 kB / 413.5 MB, free: 47.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.914, allocations: 91.09 kB / 413.6 MB, free: 47.63 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.0004729/0.9145, allocations: 178.3 kB / 413.7 MB, free: 47.47 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006501/0.921, allocations: 2.231 MB / 416 MB, free: 46.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005911/0.9216, allocations: 155.2 kB / 416.1 MB, free: 46.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.9222, allocations: 170.9 kB / 416.3 MB, free: 46.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.9222, allocations: 19.72 kB / 416.3 MB, free: 46.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.744e-05/0.9223, allocations: 17.81 kB / 416.3 MB, free: 46.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.9223, allocations: 13.12 kB / 416.3 MB, free: 46.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.9255, allocations: 1.62 MB / 418 MB, free: 45.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.9256, allocations: 0 / 418 MB, free: 45.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.927, allocations: 132 kB / 418.1 MB, free: 45.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00499/0.932, allocations: 1.09 MB / 419.2 MB, free: 44.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003431/0.9324, allocations: 15.47 kB / 419.2 MB, free: 44.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02606/0.9585, allocations: 21.43 MB / 440.6 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9585, allocations: 0 / 440.6 MB, free: 23.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0089/0.9674, allocations: 3.217 MB / 443.8 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.9686, allocations: 421.8 kB / 444.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/0.969, allocations: 8 kB / 444.3 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.9706, allocations: 85.7 kB / 444.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000993/0.9717, allocations: 214.8 kB / 444.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/0.972, allocations: 50.19 kB / 444.6 MB, free: 19.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001/0.9731, allocations: 0.5101 MB / 445.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.9731, allocations: 0 / 445.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003939/0.9771, allocations: 0.6631 MB / 445.8 MB, free: 18.29 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.009272/0.9864, allocations: 3.798 MB / 449.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007493/0.9939, allocations: 3.58 MB / 453.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.994, allocations: 1.25 kB / 453.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005599/0.9996, allocations: 2.783 MB / 455.9 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.002, allocations: 275.1 kB / 456.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.013, allocations: 3.785 MB / 460 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.014, allocations: 1.484 MB / 461.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.015, allocations: 0.6639 MB / 462.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/1.015, allocations: 0 / 462.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.399/5.414, allocations: 119.8 MB / 0.5683 GB, free: 33.17 MB / 346.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