Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.681/1.681, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2263/1.907, allocations: 46.82 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/1.995, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/2.274, allocations: 75.4 MB / 369.3 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/2.274, allocations: 72.58 kB / 369.4 MB, free: 7.043 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.1392/2.413, allocations: 34.45 MB / 403.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/2.413, allocations: 9.625 kB / 403.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009434/2.414, allocations: 248 kB / 404.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/2.417, allocations: 0.9497 MB / 405 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/2.417, allocations: 70.34 kB / 405.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004818/2.417, allocations: 141.4 kB / 405.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005559/2.423, allocations: 1.501 MB / 406.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006008/2.429, allocations: 1.94 MB / 408.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.849e-05/2.429, allocations: 7.938 kB / 408.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/2.429, allocations: 4 kB / 408.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-05/2.43, allocations: 55.94 kB / 408.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/2.45, allocations: 8.325 MB / 417.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/2.454, allocations: 1.574 MB / 418.6 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/2.457, allocations: 0.9382 MB / 419.6 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/2.457, allocations: 18 kB / 419.6 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/2.459, allocations: 0.7807 MB / 420.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 5.109e-06/2.459, allocations: 0 / 420.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.008696/2.468, allocations: 2.165 MB / 422.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/2.468, allocations: 89.34 kB / 422.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/2.47, allocations: 0.7216 MB / 423.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/2.47, allocations: 25.7 kB / 423.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007819/2.471, allocations: 0.6933 MB / 424.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008654/2.472, allocations: 0.6426 MB / 424.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/2.472, allocations: 0 / 424.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002498/2.472, allocations: 398.5 kB / 425.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/2.474, allocations: 0.567 MB / 425.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/2.477, allocations: 1.1 MB / 426.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/2.479, allocations: 0.6694 MB / 427.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/2.479, allocations: 8 kB / 427.4 MB, free: 8.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009718/2.489, allocations: 2.56 MB / 430 MB, free: 5.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/2.489, allocations: 12.06 kB / 430 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/2.489, allocations: 16 kB / 430 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00659/2.495, allocations: 1.103 MB / 431.1 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/2.498, allocations: 275.5 kB / 431.4 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03777/2.535, allocations: 21.01 MB / 452.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/2.538, allocations: 229.9 kB / 452.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/2.539, allocations: 92.28 kB / 452.7 MB, free: 13.55 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.0005393/2.539, allocations: 185.5 kB / 452.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/2.54, allocations: 162 kB / 453.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/2.54, allocations: 175.6 kB / 453.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/2.54, allocations: 23.98 kB / 453.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-05/2.54, allocations: 16 kB / 453.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/2.54, allocations: 7.969 kB / 453.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/2.544, allocations: 1.624 MB / 454.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/2.544, allocations: 0 / 454.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/2.546, allocations: 131.9 kB / 455 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/2.552, allocations: 1.091 MB / 456.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/2.552, allocations: 11.98 kB / 456.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03757/2.59, allocations: 21 MB / 477.1 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/2.59, allocations: 4.031 kB / 477.1 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01157/2.601, allocations: 3.186 MB / 480.3 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01414/2.616, allocations: 4.462 MB / 484.8 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/2.617, allocations: 414.6 kB / 485.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/2.617, allocations: 8 kB / 485.2 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/2.619, allocations: 95.91 kB / 485.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/2.62, allocations: 129.8 kB / 485.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/2.62, allocations: 55.98 kB / 485.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001148/2.621, allocations: 0.507 MB / 486 MB, free: 10.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004192/2.625, allocations: 0.6428 MB / 486.6 MB, free: 10.14 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.0004361/2.626, allocations: 146.2 kB / 486.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009555/2.635, allocations: 3.308 MB / 490.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/2.635, allocations: 0 / 490.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006859/2.642, allocations: 2.498 MB / 492.6 MB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/2.645, allocations: 252 kB / 492.8 MB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/2.657, allocations: 3.526 MB / 496.4 MB, free: 140 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/2.659, allocations: 1.52 MB / 497.9 MB, free: 14.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/2.659, allocations: 0 / 497.9 MB, free: 14.58 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat