Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 194.9 MB / 202.5 MB, free: 6.941 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2274/1.974, allocations: 46.84 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/2.068, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3035/2.371, allocations: 75.39 MB / 369.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/2.372, allocations: 70.91 kB / 369.3 MB, free: 7.176 MB / 298.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.1435/2.515, allocations: 34.45 MB / 403.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/2.515, allocations: 9.156 kB / 403.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/2.516, allocations: 249.1 kB / 404 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/2.52, allocations: 0.948 MB / 405 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/2.52, allocations: 71.06 kB / 405 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005805/2.52, allocations: 140.5 kB / 405.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009121/2.53, allocations: 1.496 MB / 406.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/2.541, allocations: 1.942 MB / 408.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-05/2.541, allocations: 7.938 kB / 408.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/2.541, allocations: 4 kB / 408.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/2.541, allocations: 55.94 kB / 408.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/2.564, allocations: 8.32 MB / 417 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/2.568, allocations: 1.58 MB / 418.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/2.571, allocations: 0.9343 MB / 419.5 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/2.571, allocations: 18 kB / 419.5 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/2.573, allocations: 0.7809 MB / 420.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 5.651e-06/2.573, allocations: 7.938 kB / 420.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.008523/2.582, allocations: 2.166 MB / 422.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/2.582, allocations: 81.41 kB / 422.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/2.584, allocations: 0.7255 MB / 423.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003931/2.584, allocations: 29.7 kB / 423.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/2.585, allocations: 0.6939 MB / 424 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/2.586, allocations: 0.6387 MB / 424.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/2.586, allocations: 4 kB / 424.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002557/2.587, allocations: 394.6 kB / 425 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/2.589, allocations: 0.567 MB / 425.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/2.591, allocations: 1.1 MB / 426.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/2.594, allocations: 0.6734 MB / 427.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/2.594, allocations: 4 kB / 427.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01028/2.604, allocations: 2.564 MB / 429.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/2.604, allocations: 4 kB / 429.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/2.604, allocations: 16 kB / 430 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00626/2.61, allocations: 1.111 MB / 431.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/2.612, allocations: 275.5 kB / 431.3 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03773/2.65, allocations: 21.01 MB / 452.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/2.654, allocations: 241.9 kB / 452.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004884/2.654, allocations: 84.09 kB / 452.7 MB, free: 13.6 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.0005712/2.655, allocations: 196.9 kB / 452.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/2.655, allocations: 158 kB / 453 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/2.656, allocations: 171.6 kB / 453.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/2.656, allocations: 20 kB / 453.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-05/2.656, allocations: 16 kB / 453.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/2.656, allocations: 11.97 kB / 453.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/2.66, allocations: 1.613 MB / 454.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/2.66, allocations: 7.984 kB / 454.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/2.662, allocations: 131.9 kB / 455 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/2.668, allocations: 1.088 MB / 456.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004023/2.669, allocations: 11.98 kB / 456.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/2.706, allocations: 21 MB / 477.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/2.706, allocations: 4 kB / 477.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01168/2.718, allocations: 3.183 MB / 480.3 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01434/2.732, allocations: 4.458 MB / 484.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/2.734, allocations: 418.6 kB / 485.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/2.734, allocations: 4 kB / 485.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/2.736, allocations: 99.91 kB / 485.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005994/2.737, allocations: 130.1 kB / 485.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/2.737, allocations: 51.98 kB / 485.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001333/2.739, allocations: 0.5067 MB / 485.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004845/2.744, allocations: 0.6506 MB / 486.6 MB, free: 10.19 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.0007064/2.744, allocations: 146.2 kB / 486.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009775/2.754, allocations: 3.294 MB / 490 MB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/2.754, allocations: 8.125 kB / 490 MB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007204/2.761, allocations: 2.49 MB / 492.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/2.764, allocations: 267.9 kB / 492.8 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/2.777, allocations: 3.529 MB / 496.3 MB, free: 196 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/2.779, allocations: 1.512 MB / 497.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/2.779, allocations: 0 / 497.8 MB, free: 14.64 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat