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"}) [: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.828/1.828, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2284/2.057, allocations: 41.1 MB / 219.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/2.147, allocations: 38.76 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/2.451, allocations: 70.61 MB / 328.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/2.451, allocations: 62.41 kB / 328.7 MB, free: 1.512 MB / 266.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.1764/2.628, allocations: 35.1 MB / 363.8 MB, free: 3.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/2.628, allocations: 12 kB / 363.8 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/2.629, allocations: 249 kB / 364 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/2.632, allocations: 0.9542 MB / 365 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/2.633, allocations: 72 kB / 365.1 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008495/2.633, allocations: 139.9 kB / 365.2 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006609/2.64, allocations: 1.489 MB / 366.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/2.648, allocations: 1.948 MB / 368.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/2.648, allocations: 0 / 368.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/2.648, allocations: 4 kB / 368.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-05/2.648, allocations: 59.91 kB / 368.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/2.673, allocations: 8.309 MB / 377 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/2.678, allocations: 1.574 MB / 378.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/2.681, allocations: 0.9381 MB / 379.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/2.681, allocations: 22 kB / 379.5 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00268/2.684, allocations: 0.7729 MB / 380.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 7.143e-06/2.684, allocations: 0 / 380.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.01204/2.696, allocations: 2.176 MB / 382.5 MB, free: 476 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002098/2.696, allocations: 85.39 kB / 382.6 MB, free: 380 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/2.7, allocations: 0.7255 MB / 383.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006376/2.701, allocations: 29.7 kB / 383.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/2.702, allocations: 0.6902 MB / 384 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/2.704, allocations: 0.635 MB / 384.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/2.704, allocations: 0 / 384.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/2.705, allocations: 398.6 kB / 385 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/2.708, allocations: 0.567 MB / 385.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/2.713, allocations: 1.107 MB / 386.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/2.717, allocations: 0.6695 MB / 387.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.57e-05/2.717, allocations: 4 kB / 387.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01614/2.733, allocations: 2.563 MB / 389.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/2.733, allocations: 4 kB / 389.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-05/2.733, allocations: 16 kB / 390 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009607/2.743, allocations: 1.103 MB / 391.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003865/2.747, allocations: 287.4 kB / 391.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05601/2.803, allocations: 21.02 MB / 412.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/2.807, allocations: 229.9 kB / 412.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007824/2.808, allocations: 88 kB / 412.7 MB, free: 0.5078 MB / 346.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.0009319/2.809, allocations: 181.7 kB / 412.9 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007831/2.81, allocations: 150.1 kB / 413 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1437/2.954, allocations: 178.5 kB / 413.2 MB, free: 129.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.217e-05/2.954, allocations: 23.25 kB / 413.2 MB, free: 129.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001165/2.954, allocations: 19.06 kB / 413.2 MB, free: 129.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-05/2.954, allocations: 6.75 kB / 413.2 MB, free: 129.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/2.958, allocations: 1.619 MB / 414.8 MB, free: 129.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/2.958, allocations: 2.562 kB / 414.8 MB, free: 129.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/2.96, allocations: 134.8 kB / 415 MB, free: 129.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006004/2.966, allocations: 1.09 MB / 416.1 MB, free: 129.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/2.966, allocations: 14.23 kB / 416.1 MB, free: 129.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03217/2.998, allocations: 20.99 MB / 437.1 MB, free: 115.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/2.998, allocations: 3.422 kB / 437.1 MB, free: 115.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01078/3.009, allocations: 3.182 MB / 440.3 MB, free: 114.9 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01577/3.025, allocations: 4.464 MB / 444.7 MB, free: 114.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/3.027, allocations: 423.5 kB / 445.1 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005833/3.028, allocations: 12.92 kB / 445.1 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/3.03, allocations: 92.62 kB / 445.2 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006881/3.031, allocations: 132.2 kB / 445.4 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/3.031, allocations: 53.27 kB / 445.4 MB, free: 114 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001281/3.032, allocations: 0.5198 MB / 445.9 MB, free: 113.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004787/3.037, allocations: 0.6393 MB / 446.6 MB, free: 113.7 MB / 346.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.0006694/3.038, allocations: 130.8 kB / 446.7 MB, free: 113.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009004/3.047, allocations: 3.304 MB / 450 MB, free: 111.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/3.047, allocations: 0 / 450 MB, free: 111.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006609/3.054, allocations: 2.485 MB / 452.5 MB, free: 110 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/3.057, allocations: 259.4 kB / 452.7 MB, free: 109.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/3.069, allocations: 3.539 MB / 456.3 MB, free: 108.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/3.072, allocations: 1.509 MB / 457.8 MB, free: 107.6 MB / 346.7 MB Notification: Performance of SimCode: time 2.154e-06/3.072, allocations: 0 / 457.8 MB, free: 107.6 MB / 346.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