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.697/1.697, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.837e-05, allocations: 0 / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 38.78 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.3839, allocations: 71.02 MB / 334.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.3843, allocations: 67.97 kB / 334.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1487/0.533, allocations: 32.95 MB / 367.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5331, allocations: 4 kB / 367.9 MB, free: 1.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001294/0.5332, allocations: 47.98 kB / 367.9 MB, free: 1.488 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.2468/0.78, allocations: 2.272 MB / 370.2 MB, free: 72.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.7801, allocations: 9.75 kB / 370.2 MB, free: 72.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009832/0.7811, allocations: 305.2 kB / 370.5 MB, free: 72.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007749/0.7819, allocations: 253.3 kB / 370.8 MB, free: 72.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.7843, allocations: 0.9408 MB / 371.7 MB, free: 72.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.7844, allocations: 168.2 kB / 371.9 MB, free: 72.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.7849, allocations: 225.5 kB / 372.1 MB, free: 72.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005186/0.7901, allocations: 2.257 MB / 374.4 MB, free: 71.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.056e-05/0.7902, allocations: 4.141 kB / 374.4 MB, free: 71.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.7905, allocations: 97.11 kB / 374.5 MB, free: 71.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.7906, allocations: 54.5 kB / 374.5 MB, free: 71.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/0.7949, allocations: 1.641 MB / 376.2 MB, free: 71.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.8131, allocations: 8.686 MB / 384.8 MB, free: 68.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/0.8179, allocations: 2.055 MB / 386.9 MB, free: 67.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.8201, allocations: 1.01 MB / 387.9 MB, free: 67.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.8203, allocations: 19.59 kB / 387.9 MB, free: 67.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/0.8223, allocations: 0.8834 MB / 388.8 MB, free: 66.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 4.869e-06/0.8224, allocations: 2.469 kB / 388.8 MB, free: 66.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.007045/0.8294, allocations: 2.396 MB / 391.2 MB, free: 65.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.8295, allocations: 81.3 kB / 391.3 MB, free: 65.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.8311, allocations: 0.8342 MB / 392.1 MB, free: 65.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002885/0.8314, allocations: 68.5 kB / 392.2 MB, free: 65.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/0.832, allocations: 0.8047 MB / 393 MB, free: 64.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/0.8327, allocations: 0.6656 MB / 393.7 MB, free: 64.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.8329, allocations: 46.81 kB / 393.7 MB, free: 64.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8331, allocations: 394.6 kB / 394.1 MB, free: 63.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.8347, allocations: 0.6169 MB / 394.7 MB, free: 63.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.8366, allocations: 1.157 MB / 395.9 MB, free: 62.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.8384, allocations: 0.7341 MB / 396.6 MB, free: 62.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.8384, allocations: 3.438 kB / 396.6 MB, free: 62.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007819/0.8462, allocations: 2.875 MB / 399.5 MB, free: 60.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.8463, allocations: 15.78 kB / 399.5 MB, free: 60.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.8464, allocations: 15.38 kB / 399.5 MB, free: 60.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.8517, allocations: 1.165 MB / 400.7 MB, free: 60.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8535, allocations: 281.2 kB / 400.9 MB, free: 60.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02691/0.8805, allocations: 22.24 MB / 423.2 MB, free: 37.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.8831, allocations: 277.7 kB / 423.5 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.8835, allocations: 88 kB / 423.5 MB, free: 36.88 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.0005425/0.884, allocations: 260.4 kB / 423.8 MB, free: 36.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004455/0.8845, allocations: 158 kB / 423.9 MB, free: 36.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/0.885, allocations: 203.1 kB / 424.1 MB, free: 36.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.885, allocations: 20 kB / 424.2 MB, free: 36.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/0.8851, allocations: 16 kB / 424.2 MB, free: 36.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.8851, allocations: 9.984 kB / 424.2 MB, free: 36.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.8887, allocations: 1.895 MB / 426.1 MB, free: 34.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.8888, allocations: 0 / 426.1 MB, free: 34.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.8902, allocations: 143.6 kB / 426.2 MB, free: 34.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005279/0.8955, allocations: 1.145 MB / 427.4 MB, free: 33.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/0.8958, allocations: 35.23 kB / 427.4 MB, free: 33.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02738/0.9232, allocations: 22.25 MB / 449.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9233, allocations: 0 / 449.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009578/0.9328, allocations: 3.415 MB / 453.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.934, allocations: 427.5 kB / 453.5 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.9343, allocations: 43.66 kB / 453.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.936, allocations: 113.1 kB / 453.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007091/0.9367, allocations: 212.8 kB / 453.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.9369, allocations: 51.7 kB / 453.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001061/0.9379, allocations: 0.616 MB / 454.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.938, allocations: 0 / 454.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003091/0.9411, allocations: 0.757 MB / 455.3 MB, free: 5.434 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.009773/0.9509, allocations: 4.034 MB / 459.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008489/0.9594, allocations: 3.812 MB / 463.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.9595, allocations: 0 / 463.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006579/0.9661, allocations: 2.937 MB / 466.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.9686, allocations: 343.9 kB / 466.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.9791, allocations: 3.909 MB / 470.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.9807, allocations: 1.481 MB / 471.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009579/0.9817, allocations: 135.2 kB / 471.9 MB, free: 5.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.9829, allocations: 0.6689 MB / 472.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9829, allocations: 0 / 472.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3641/1.347, allocations: 44.97 MB / 0.5054 GB, free: 104.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.347, allocations: 182 kB / 0.5056 GB, free: 104 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.429/5.776, allocations: 0 / 0.5056 GB, free: 104 MB / 362.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