Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_3_2_2_cs_Modelica_StateGraph_Examples_ShowCompositeStep",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.675/1.675, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2853/1.96, allocations: 46.82 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/2.048, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/2.334, allocations: 71.67 MB / 365.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/2.335, allocations: 69.31 kB / 365.6 MB, free: 7.074 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.04939/2.384, allocations: 13.79 MB / 379.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/2.384, allocations: 11.56 kB / 379.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/2.384, allocations: 101.1 kB / 379.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009484/2.385, allocations: 487.7 kB / 380 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/2.385, allocations: 46.17 kB / 380.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/2.386, allocations: 72.81 kB / 380.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002202/2.388, allocations: 0.7668 MB / 380.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/2.39, allocations: 0.8793 MB / 381.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/2.39, allocations: 0 / 381.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/2.39, allocations: 7.031 kB / 381.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/2.39, allocations: 23.25 kB / 381.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/2.395, allocations: 2.698 MB / 384.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/2.397, allocations: 0.6034 MB / 385.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/2.397, allocations: 351.5 kB / 385.4 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-05/2.398, allocations: 15.48 kB / 385.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008748/2.398, allocations: 375.2 kB / 385.8 MB, free: 1.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 3.797e-06/2.398, allocations: 0 / 385.8 MB, free: 1.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.00165/2.4, allocations: 0.573 MB / 386.4 MB, free: 17.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/2.4, allocations: 77.08 kB / 386.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/2.401, allocations: 306.6 kB / 386.8 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/2.401, allocations: 56.72 kB / 386.8 MB, free: 17.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/2.401, allocations: 300.6 kB / 387.1 MB, free: 17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/2.401, allocations: 240.2 kB / 387.4 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/2.401, allocations: 0 / 387.4 MB, free: 16.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/2.402, allocations: 372.4 kB / 387.7 MB, free: 16.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008185/2.402, allocations: 275.4 kB / 388 MB, free: 16.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/2.403, allocations: 0.4924 MB / 388.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008744/2.404, allocations: 288.5 kB / 388.8 MB, free: 16.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/2.404, allocations: 4 kB / 388.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002156/2.406, allocations: 0.8443 MB / 389.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/2.406, allocations: 7.906 kB / 389.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/2.407, allocations: 11.31 kB / 389.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/2.407, allocations: 11.34 kB / 389.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/2.407, allocations: 120.3 kB / 389.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/2.407, allocations: 15.5 kB / 389.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/2.408, allocations: 54.94 kB / 389.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/2.408, allocations: 52.23 kB / 389.9 MB, free: 15.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003183/2.408, allocations: 216 kB / 390.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/2.409, allocations: 54.48 kB / 390.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/2.41, allocations: 0.6468 MB / 390.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/2.411, allocations: 11.69 kB / 390.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/2.411, allocations: 4 kB / 390.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/2.411, allocations: 3.984 kB / 390.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/2.415, allocations: 1.577 MB / 392.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.415, allocations: 0 / 392.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/2.415, allocations: 71.45 kB / 392.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/2.415, allocations: 3.688 kB / 392.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/2.415, allocations: 11.84 kB / 392.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/2.415, allocations: 3.875 kB / 392.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/2.415, allocations: 0 / 392.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/2.417, allocations: 0.7017 MB / 393.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001695/2.419, allocations: 1.082 MB / 394.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/2.419, allocations: 127.7 kB / 394.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/2.419, allocations: 11.3 kB / 394.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/2.419, allocations: 30.62 kB / 394.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/2.42, allocations: 127 kB / 394.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/2.42, allocations: 34.55 kB / 394.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002033/2.42, allocations: 157.8 kB / 394.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001828/2.422, allocations: 137.5 kB / 394.9 MB, free: 13.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003148/2.422, allocations: 164.7 kB / 395 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/2.424, allocations: 0.7683 MB / 395.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.424, allocations: 0 / 395.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008003/2.425, allocations: 380 kB / 396.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/2.426, allocations: 59.09 kB / 396.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/2.429, allocations: 1.035 MB / 397.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/2.43, allocations: 1.047 MB / 398.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/2.431, allocations: 4 kB / 398.3 MB, free: 12.29 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat