Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_1_cpp_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.164/1.164, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.146e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 25.14 MB / 176.6 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06367/0.2404, allocations: 34.28 MB / 210.9 MB, free: 15.18 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.2407, allocations: 63.95 kB / 211 MB, free: 15.12 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04688/0.2876, allocations: 11.31 MB / 222.3 MB, free: 3.738 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2876, allocations: 0 / 222.3 MB, free: 3.738 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.67e-05/0.2877, allocations: 31.92 kB / 222.3 MB, free: 3.707 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001995/0.2897, allocations: 0.8772 MB / 223.2 MB, free: 2.746 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.2898, allocations: 16.02 kB / 223.2 MB, free: 2.73 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/0.2901, allocations: 139.7 kB / 223.3 MB, free: 2.586 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.2903, allocations: 94.95 kB / 223.4 MB, free: 2.492 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.2912, allocations: 434 kB / 223.9 MB, free: 2.027 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2914, allocations: 82 kB / 223.9 MB, free: 1.949 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.2916, allocations: 104 kB / 224 MB, free: 1.848 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.2939, allocations: 0.8948 MB / 224.9 MB, free: 0.9258 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.294, allocations: 0 / 224.9 MB, free: 0.9258 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.2941, allocations: 40 kB / 225 MB, free: 0.8867 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.2942, allocations: 27.95 kB / 225 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.2963, allocations: 0.695 MB / 225.7 MB, free: 168 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005006/0.3013, allocations: 2.31 MB / 228 MB, free: 13.78 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3029, allocations: 0.6361 MB / 228.6 MB, free: 13.12 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.3037, allocations: 335.8 kB / 229 MB, free: 12.79 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-05/0.3038, allocations: 8.781 kB / 229 MB, free: 12.79 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009821/0.3048, allocations: 418.9 kB / 229.4 MB, free: 12.36 MB / 202.7 MB Notification: Performance of pre-optimization done (n=99): time 4.207e-06/0.3048, allocations: 4 kB / 229.4 MB, free: 12.35 MB / 202.7 MB Notification: Performance of matching and sorting (n=99): time 0.001697/0.3065, allocations: 0.5934 MB / 230 MB, free: 11.75 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.3067, allocations: 101.9 kB / 230.1 MB, free: 11.63 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.3072, allocations: 288.3 kB / 230.4 MB, free: 11.34 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.3073, allocations: 69.69 kB / 230.4 MB, free: 11.27 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.3076, allocations: 343.5 kB / 230.8 MB, free: 10.93 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.3079, allocations: 244.9 kB / 231 MB, free: 10.69 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.308, allocations: 24 kB / 231 MB, free: 10.66 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3082, allocations: 366.8 kB / 231.4 MB, free: 10.3 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/0.3089, allocations: 246.6 kB / 231.6 MB, free: 10.05 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.3099, allocations: 448.8 kB / 232.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.3107, allocations: 281.1 kB / 232.3 MB, free: 9.27 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3107, allocations: 0 / 232.3 MB, free: 9.27 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002116/0.3128, allocations: 0.8203 MB / 233.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.3129, allocations: 8.75 kB / 233.2 MB, free: 8.434 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.3129, allocations: 4 kB / 233.2 MB, free: 8.43 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.905e-05/0.313, allocations: 20 kB / 233.2 MB, free: 8.41 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.3137, allocations: 115.7 kB / 233.3 MB, free: 8.297 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.3138, allocations: 12 kB / 233.3 MB, free: 8.285 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.3144, allocations: 67.66 kB / 233.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.3145, allocations: 55.92 kB / 233.4 MB, free: 8.164 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0004372/0.315, allocations: 249.5 kB / 233.7 MB, free: 7.91 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3151, allocations: 43.44 kB / 233.7 MB, free: 7.867 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.3171, allocations: 0.7299 MB / 234.5 MB, free: 7.129 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.3171, allocations: 12 kB / 234.5 MB, free: 7.117 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3171, allocations: 0 / 234.5 MB, free: 7.117 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.3172, allocations: 7.969 kB / 234.5 MB, free: 7.109 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.3214, allocations: 1.647 MB / 236.1 MB, free: 5.41 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3214, allocations: 4 kB / 236.1 MB, free: 5.406 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.322, allocations: 71.83 kB / 236.2 MB, free: 5.336 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/0.322, allocations: 4 kB / 236.2 MB, free: 5.332 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/0.3221, allocations: 19.98 kB / 236.2 MB, free: 5.312 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.3221, allocations: 4 kB / 236.2 MB, free: 5.309 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3221, allocations: 4 kB / 236.2 MB, free: 5.305 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3239, allocations: 0.7872 MB / 237 MB, free: 4.492 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.3241, allocations: 132.3 kB / 237.2 MB, free: 4.344 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3242, allocations: 19.98 kB / 237.2 MB, free: 4.324 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3246, allocations: 43.97 kB / 237.2 MB, free: 4.281 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/0.325, allocations: 100.8 kB / 237.3 MB, free: 4.18 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/0.3251, allocations: 35.98 kB / 237.3 MB, free: 4.145 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3253, allocations: 157.4 kB / 237.5 MB, free: 3.992 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3253, allocations: 0 / 237.5 MB, free: 3.992 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0009031/0.3262, allocations: 167.9 kB / 237.7 MB, free: 3.828 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * 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.002225/0.3284, allocations: 1.452 MB / 239.1 MB, free: 2.348 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.3304, allocations: 0.7088 MB / 239.8 MB, free: 1.633 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3304, allocations: 0 / 239.8 MB, free: 1.633 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008839/0.3313, allocations: 359.6 kB / 240.2 MB, free: 1.285 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.332, allocations: 65.91 kB / 240.2 MB, free: 1.219 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.335, allocations: 1.062 MB / 241.3 MB, free: 112 kB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.3357, allocations: 0.9469 MB / 242.3 MB, free: 15.14 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.3364, allocations: 263.3 kB / 242.5 MB, free: 14.88 MB / 218.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3364, allocations: 0 / 242.5 MB, free: 14.88 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.65/2.986, allocations: 11.25 MB / 253.8 MB, free: 3.613 MB / 218.7 MB