Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.17e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09675, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5548, allocations: 76.13 MB / 376.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5551, allocations: 69.2 kB / 376.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/0.684, allocations: 32.31 MB / 408.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6841, allocations: 0 / 408.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001494/0.6843, allocations: 50.38 kB / 408.5 MB, free: 6.137 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.008886/0.6931, allocations: 2.283 MB / 410.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.6932, allocations: 12.7 kB / 410.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001164/0.6944, allocations: 304.5 kB / 411.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.6954, allocations: 248.7 kB / 411.3 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.6981, allocations: 0.9476 MB / 412.3 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.6984, allocations: 173.7 kB / 412.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008186/0.6992, allocations: 225.4 kB / 412.7 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/0.7066, allocations: 2.228 MB / 414.9 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-05/0.7067, allocations: 3.938 kB / 414.9 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.7071, allocations: 92.94 kB / 415 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/0.7072, allocations: 53.34 kB / 415.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00566/0.7129, allocations: 1.609 MB / 416.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02127/0.7342, allocations: 8.688 MB / 425.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/0.7398, allocations: 2.02 MB / 427.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/0.7425, allocations: 1.022 MB / 428.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.7427, allocations: 17.25 kB / 428.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.7452, allocations: 0.8764 MB / 429.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 6.311e-06/0.7452, allocations: 0 / 429.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.008131/0.7534, allocations: 2.389 MB / 431.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.7535, allocations: 84.67 kB / 431.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.7554, allocations: 0.8282 MB / 432.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004652/0.7559, allocations: 69.27 kB / 432.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/0.7568, allocations: 0.821 MB / 433.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.758, allocations: 0.6673 MB / 434.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.7583, allocations: 43.62 kB / 434.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.7586, allocations: 398.6 kB / 434.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.7604, allocations: 0.6119 MB / 435.2 MB, free: 8.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.7628, allocations: 1.153 MB / 436.3 MB, free: 7.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.765, allocations: 0.7252 MB / 437.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.765, allocations: 3.875 kB / 437.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01127/0.7763, allocations: 2.757 MB / 439.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.7764, allocations: 12.56 kB / 439.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.7765, allocations: 19.25 kB / 439.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008476/0.785, allocations: 1.169 MB / 441 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.7879, allocations: 271.6 kB / 441.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04907/0.837, allocations: 22.23 MB / 463.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/0.8486, allocations: 269.8 kB / 463.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/0.8491, allocations: 92 kB / 463.9 MB, free: 12.5 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.0006681/0.8498, allocations: 257.2 kB / 464.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.8504, allocations: 162 kB / 464.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.8511, allocations: 204.2 kB / 464.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/0.8511, allocations: 23.98 kB / 464.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.85e-05/0.8512, allocations: 16 kB / 464.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.8512, allocations: 15.97 kB / 464.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/0.8561, allocations: 1.893 MB / 466.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.8562, allocations: 0 / 466.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.8578, allocations: 135.8 kB / 466.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/0.8641, allocations: 1.142 MB / 467.7 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004186/0.8645, allocations: 47.98 kB / 467.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0371/0.9016, allocations: 22.23 MB / 490 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9017, allocations: 0 / 490 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.913, allocations: 3.417 MB / 493.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.9144, allocations: 422.7 kB / 493.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.9148, allocations: 43.98 kB / 493.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.9166, allocations: 111.9 kB / 494 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008146/0.9174, allocations: 217.6 kB / 494.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.9176, allocations: 51.98 kB / 494.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.919, allocations: 0.6112 MB / 494.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.919, allocations: 0 / 494.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003633/0.9226, allocations: 0.7524 MB / 495.6 MB, free: 11.04 MB / 394.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.01165/0.9343, allocations: 4.045 MB / 499.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009929/0.9443, allocations: 3.674 MB / 0.4915 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.9444, allocations: 0.5625 kB / 0.4915 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007599/0.952, allocations: 2.814 MB / 0.4943 GB, free: 228 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.9553, allocations: 344.5 kB / 0.4946 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.9697, allocations: 3.951 MB / 0.4985 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.9719, allocations: 1.481 MB / 0.4999 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.9735, allocations: 0.6789 MB / 0.5006 GB, free: 9.676 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.9735, allocations: 0 / 0.5006 GB, free: 9.676 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.747/5.721, allocations: 120.6 MB / 0.6183 GB, free: 35.11 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat