Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.777e-05, allocations: 0 / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5191, allocations: 72 MB / 372 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5194, allocations: 65.88 kB / 372 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04632/0.5658, allocations: 11.41 MB / 383.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5658, allocations: 0 / 383.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.662e-05/0.5659, allocations: 21.94 kB / 383.5 MB, free: 21.17 MB / 314.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.001948/0.5678, allocations: 0.8908 MB / 384.3 MB, free: 20.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.5679, allocations: 9.406 kB / 384.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.5681, allocations: 146.5 kB / 384.5 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.5684, allocations: 89.59 kB / 384.6 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.5692, allocations: 438.5 kB / 385 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.5693, allocations: 83.69 kB / 385.1 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.5695, allocations: 105.5 kB / 385.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.5718, allocations: 0.8934 MB / 386.1 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.5719, allocations: 5 kB / 386.1 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.572, allocations: 39.77 kB / 386.1 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.5721, allocations: 26.69 kB / 386.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.574, allocations: 0.6927 MB / 386.9 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.5786, allocations: 2.343 MB / 389.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.58, allocations: 0.6289 MB / 389.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/0.5806, allocations: 332.4 kB / 390.2 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.37e-05/0.5807, allocations: 16.16 kB / 390.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/0.5816, allocations: 421.8 kB / 390.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 4.158e-06/0.5816, allocations: 3.938 kB / 390.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.001423/0.583, allocations: 0.5952 MB / 391.2 MB, free: 19.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5831, allocations: 104.4 kB / 391.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.5835, allocations: 296.8 kB / 391.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.5836, allocations: 68.16 kB / 391.6 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5838, allocations: 302.2 kB / 391.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.584, allocations: 241.1 kB / 392.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.5841, allocations: 25.34 kB / 392.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5842, allocations: 367 kB / 392.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.5849, allocations: 252.7 kB / 392.8 MB, free: 18.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.5857, allocations: 467.1 kB / 393.3 MB, free: 17.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.5864, allocations: 268.4 kB / 393.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.5864, allocations: 3.844 kB / 393.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001804/0.5882, allocations: 0.8214 MB / 394.3 MB, free: 17.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.5883, allocations: 11.77 kB / 394.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5883, allocations: 3.906 kB / 394.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/0.5883, allocations: 12.47 kB / 394.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.5891, allocations: 116.2 kB / 394.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/0.5891, allocations: 15.72 kB / 394.5 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.5897, allocations: 65.75 kB / 394.6 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.5899, allocations: 52.95 kB / 394.6 MB, free: 17.73 MB / 314.7 MB 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.000325/0.5902, allocations: 220.9 kB / 394.8 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.5903, allocations: 46.75 kB / 394.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.5921, allocations: 0.7374 MB / 395.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5922, allocations: 11.72 kB / 395.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5922, allocations: 0 / 395.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.5922, allocations: 14.64 kB / 395.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.5961, allocations: 1.645 MB / 397.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.5962, allocations: 0 / 397.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.5967, allocations: 68.8 kB / 397.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/0.5968, allocations: 7.844 kB / 397.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.5969, allocations: 25.98 kB / 397.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.5969, allocations: 7.859 kB / 397.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5969, allocations: 0 / 397.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.5984, allocations: 0.7764 MB / 398.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5986, allocations: 128 kB / 398.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5987, allocations: 26.12 kB / 398.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.5991, allocations: 49.34 kB / 398.4 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.5995, allocations: 100.9 kB / 398.5 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.5996, allocations: 30.61 kB / 398.5 MB, free: 16.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.5998, allocations: 154 kB / 398.6 MB, free: 16.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5998, allocations: 0 / 398.6 MB, free: 16.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009656/0.6007, allocations: 166.5 kB / 398.8 MB, free: 16.64 MB / 314.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.001883/0.6026, allocations: 1.459 MB / 400.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.6044, allocations: 0.7025 MB / 401 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6044, allocations: 0 / 401 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008284/0.6053, allocations: 366.3 kB / 401.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.606, allocations: 83.23 kB / 401.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.6099, allocations: 1.04 MB / 402.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.6106, allocations: 0.9603 MB / 403.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008417/0.6115, allocations: 108.7 kB / 403.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.6123, allocations: 259.9 kB / 403.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6123, allocations: 3.938 kB / 403.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/0.6672, allocations: 12.03 MB / 415.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.6675, allocations: 143.8 kB / 415.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/3.824, allocations: 0 / 415.9 MB, free: 10.73 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat