Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.539e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2569, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3826, allocations: 70.35 MB / 328.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.3829, allocations: 71.97 kB / 328.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1369/0.5199, allocations: 32.57 MB / 361.3 MB, free: 6.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5199, allocations: 4 kB / 361.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000125/0.5201, allocations: 44 kB / 361.4 MB, free: 6.605 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.008404/0.5285, allocations: 2.286 MB / 363.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.5286, allocations: 16.02 kB / 363.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.5296, allocations: 249 kB / 363.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.5321, allocations: 0.9386 MB / 364.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5322, allocations: 72 kB / 364.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004816/0.5327, allocations: 135.9 kB / 365.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004864/0.5376, allocations: 1.497 MB / 366.6 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2233/0.761, allocations: 1.948 MB / 368.5 MB, free: 74.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.491e-05/0.7611, allocations: 3.438 kB / 368.5 MB, free: 74.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.7614, allocations: 4.406 kB / 368.5 MB, free: 74.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.7615, allocations: 55.27 kB / 368.6 MB, free: 74.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.7819, allocations: 8.317 MB / 376.9 MB, free: 71.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.7868, allocations: 1.968 MB / 378.9 MB, free: 71.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.7891, allocations: 0.9529 MB / 379.8 MB, free: 71.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.7894, allocations: 17.78 kB / 379.8 MB, free: 71.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002038/0.7914, allocations: 0.8269 MB / 380.7 MB, free: 71.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 7.383e-06/0.7915, allocations: 0 / 380.7 MB, free: 71.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.006765/0.7982, allocations: 2.225 MB / 382.9 MB, free: 71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.7984, allocations: 79.78 kB / 383 MB, free: 70.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.7998, allocations: 0.7215 MB / 383.7 MB, free: 70.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.8002, allocations: 33.67 kB / 383.7 MB, free: 70.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/0.8009, allocations: 0.8214 MB / 384.5 MB, free: 70.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008423/0.8018, allocations: 0.638 MB / 385.2 MB, free: 69.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.802, allocations: 0 / 385.2 MB, free: 69.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.8022, allocations: 393.1 kB / 385.6 MB, free: 69.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.8037, allocations: 0.5661 MB / 386.1 MB, free: 68.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.8056, allocations: 1.104 MB / 387.2 MB, free: 68.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.8074, allocations: 0.6714 MB / 387.9 MB, free: 67.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/0.8075, allocations: 3.938 kB / 387.9 MB, free: 67.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007947/0.8155, allocations: 2.601 MB / 390.5 MB, free: 66.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.8155, allocations: 15.22 kB / 390.5 MB, free: 66.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.8156, allocations: 17.59 kB / 390.5 MB, free: 66.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/0.8207, allocations: 1.096 MB / 391.6 MB, free: 66.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.8226, allocations: 283.1 kB / 391.9 MB, free: 66.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02813/0.8508, allocations: 21.43 MB / 413.3 MB, free: 47.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.8536, allocations: 220.8 kB / 413.6 MB, free: 47.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/0.854, allocations: 87 kB / 413.6 MB, free: 47.85 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.00053/0.8545, allocations: 180.8 kB / 413.8 MB, free: 47.68 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006774/0.8613, allocations: 2.22 MB / 416 MB, free: 46.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006502/0.862, allocations: 161 kB / 416.2 MB, free: 46.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006028/0.8626, allocations: 169.7 kB / 416.4 MB, free: 46.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.8627, allocations: 21.47 kB / 416.4 MB, free: 46.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.158e-05/0.8628, allocations: 14.41 kB / 416.4 MB, free: 46.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.8628, allocations: 14.28 kB / 416.4 MB, free: 46.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.8663, allocations: 1.62 MB / 418 MB, free: 45.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.8664, allocations: 0 / 418 MB, free: 45.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.8678, allocations: 143.5 kB / 418.2 MB, free: 45.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/0.8729, allocations: 1.085 MB / 419.3 MB, free: 44.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003656/0.8733, allocations: 14.86 kB / 419.3 MB, free: 44.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02646/0.8998, allocations: 21.42 MB / 440.7 MB, free: 23.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8999, allocations: 1.438 kB / 440.7 MB, free: 23.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.91, allocations: 3.208 MB / 443.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.9114, allocations: 424.7 kB / 444.3 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/0.9119, allocations: 4 kB / 444.3 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.9136, allocations: 88.42 kB / 444.4 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007897/0.9144, allocations: 206.1 kB / 444.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.9145, allocations: 51.94 kB / 444.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009031/0.9155, allocations: 0.5111 MB / 445.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9155, allocations: 7.938 kB / 445.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003472/0.919, allocations: 0.6621 MB / 445.8 MB, free: 18.21 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.009072/0.9281, allocations: 3.803 MB / 449.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007401/0.9355, allocations: 3.581 MB / 453.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9356, allocations: 0 / 453.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005696/0.9413, allocations: 2.767 MB / 456 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.944, allocations: 277 kB / 456.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.9542, allocations: 3.734 MB / 460 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.9554, allocations: 1.484 MB / 461.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009011/0.9563, allocations: 125.9 kB / 461.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/0.9573, allocations: 0.6637 MB / 462.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.9573, allocations: 0 / 462.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3902/1.347, allocations: 41.57 MB / 0.492 GB, free: 91.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.348, allocations: 144.6 kB / 0.4922 GB, free: 91.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.37/5.717, allocations: 0 / 0.4922 GB, free: 91.29 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat