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.816/1.816, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.983e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.267, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.4189, allocations: 71.03 MB / 334.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4193, allocations: 67.95 kB / 334.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1424/0.5617, allocations: 32.95 MB / 367.9 MB, free: 1.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5618, allocations: 0 / 367.9 MB, free: 1.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.562, allocations: 44 kB / 367.9 MB, free: 1.527 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.2583/0.8203, allocations: 2.281 MB / 370.2 MB, free: 72.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/0.8204, allocations: 10.45 kB / 370.2 MB, free: 72.69 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001109/0.8216, allocations: 306.4 kB / 370.5 MB, free: 72.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.8224, allocations: 249.2 kB / 370.8 MB, free: 72.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.8251, allocations: 0.9483 MB / 371.7 MB, free: 72.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.8254, allocations: 162.8 kB / 371.9 MB, free: 72.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/0.8259, allocations: 225.9 kB / 372.1 MB, free: 72.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.8317, allocations: 2.263 MB / 374.3 MB, free: 71.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.399e-05/0.8318, allocations: 3.844 kB / 374.3 MB, free: 71.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.8321, allocations: 93.44 kB / 374.4 MB, free: 71.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.8322, allocations: 53.97 kB / 374.5 MB, free: 71.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00517/0.8374, allocations: 1.645 MB / 376.1 MB, free: 71.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01946/0.8569, allocations: 8.68 MB / 384.8 MB, free: 68.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/0.8621, allocations: 2.06 MB / 386.9 MB, free: 67.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.8646, allocations: 1.008 MB / 387.9 MB, free: 67.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.8648, allocations: 18.59 kB / 387.9 MB, free: 67.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002215/0.867, allocations: 0.8873 MB / 388.8 MB, free: 66.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 5.681e-06/0.8671, allocations: 2.281 kB / 388.8 MB, free: 66.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.007516/0.8746, allocations: 2.391 MB / 391.2 MB, free: 65.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.8747, allocations: 80.92 kB / 391.3 MB, free: 65.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.8764, allocations: 0.835 MB / 392.1 MB, free: 65.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004231/0.8769, allocations: 64.98 kB / 392.2 MB, free: 65.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/0.8775, allocations: 0.8112 MB / 393 MB, free: 64.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008667/0.8784, allocations: 0.6679 MB / 393.6 MB, free: 64.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.8786, allocations: 43.78 kB / 393.7 MB, free: 64.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8787, allocations: 399.8 kB / 394.1 MB, free: 63.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.8805, allocations: 0.6101 MB / 394.7 MB, free: 63.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.8824, allocations: 1.159 MB / 395.8 MB, free: 62.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.8843, allocations: 0.7335 MB / 396.6 MB, free: 62.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.8843, allocations: 5.562 kB / 396.6 MB, free: 62.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.0082/0.8926, allocations: 2.806 MB / 399.4 MB, free: 61.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.8926, allocations: 16.73 kB / 399.4 MB, free: 61.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.8927, allocations: 13.84 kB / 399.4 MB, free: 61.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005618/0.8983, allocations: 1.166 MB / 400.6 MB, free: 60.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.9001, allocations: 277.9 kB / 400.9 MB, free: 60.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02893/0.9291, allocations: 22.24 MB / 423.1 MB, free: 37.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.9319, allocations: 283.3 kB / 423.4 MB, free: 37.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004111/0.9324, allocations: 88 kB / 423.5 MB, free: 37.02 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.0005442/0.9329, allocations: 261.5 kB / 423.7 MB, free: 36.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.9334, allocations: 162 kB / 423.9 MB, free: 36.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.934, allocations: 198.3 kB / 424.1 MB, free: 36.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.934, allocations: 23.05 kB / 424.1 MB, free: 36.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.379e-05/0.9341, allocations: 23.66 kB / 424.1 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.9341, allocations: 7.125 kB / 424.1 MB, free: 36.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.938, allocations: 1.899 MB / 426 MB, free: 34.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.9381, allocations: 0 / 426 MB, free: 34.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.9395, allocations: 131 kB / 426.1 MB, free: 34.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005443/0.945, allocations: 1.139 MB / 427.3 MB, free: 33.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003831/0.9454, allocations: 42.86 kB / 427.3 MB, free: 33.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02895/0.9744, allocations: 22.25 MB / 449.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9744, allocations: 3.938 kB / 449.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.9845, allocations: 3.416 MB / 453 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.9857, allocations: 427.3 kB / 453.4 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.9861, allocations: 39.95 kB / 453.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.9877, allocations: 111.2 kB / 453.6 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007404/0.9885, allocations: 214.3 kB / 453.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.9887, allocations: 59.14 kB / 453.8 MB, free: 6.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.9897, allocations: 0.6064 MB / 454.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9898, allocations: 0 / 454.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003398/0.9932, allocations: 0.7571 MB / 455.2 MB, free: 5.582 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.01067/1.004, allocations: 4.037 MB / 459.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009256/1.013, allocations: 3.814 MB / 463 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.013, allocations: 1.25 kB / 463 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007215/1.02, allocations: 2.946 MB / 466 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.023, allocations: 345.7 kB / 466.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.036, allocations: 3.954 MB / 470.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/1.037, allocations: 1.48 MB / 471.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.039, allocations: 0.6733 MB / 472.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of SimCode: time 4.368e-06/1.039, allocations: 192 / 472.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.584/5.622, allocations: 120.7 MB / 0.5792 GB, free: 46.32 MB / 362.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