Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_1_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.151e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2617, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.3834, allocations: 66.01 MB / 324.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.3837, allocations: 63.97 kB / 324.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04895/0.4327, allocations: 11.13 MB / 335.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4328, allocations: 0 / 335.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.078e-05/0.4328, allocations: 27.94 kB / 335.6 MB, free: 496 kB / 282.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.00221/0.4351, allocations: 0.8808 MB / 336.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4351, allocations: 12.02 kB / 336.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.4354, allocations: 90.97 kB / 336.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/0.4364, allocations: 434.1 kB / 337 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.949e-05/0.4365, allocations: 36 kB / 337 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.4367, allocations: 64 kB / 337.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001932/0.4386, allocations: 0.656 MB / 337.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.4407, allocations: 0.7815 MB / 338.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.4408, allocations: 0 / 338.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.4409, allocations: 8 kB / 338.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.4409, allocations: 24 kB / 338.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.4462, allocations: 2.185 MB / 340.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4477, allocations: 0.6048 MB / 341.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.4484, allocations: 300 kB / 341.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4486, allocations: 20.91 kB / 341.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009214/0.4495, allocations: 394.5 kB / 342 MB, free: 9.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.847e-06/0.4495, allocations: 0 / 342 MB, free: 9.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001584/0.4511, allocations: 0.5387 MB / 342.6 MB, free: 9.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.4512, allocations: 97.89 kB / 342.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.4517, allocations: 287.6 kB / 342.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.4518, allocations: 53.69 kB / 343 MB, free: 8.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.4521, allocations: 285.2 kB / 343.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.4524, allocations: 236.9 kB / 343.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.4525, allocations: 0 / 343.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.4527, allocations: 366.7 kB / 343.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.4533, allocations: 230.6 kB / 344.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008525/0.4542, allocations: 437.2 kB / 344.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.455, allocations: 242.8 kB / 344.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.455, allocations: 0 / 344.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001974/0.457, allocations: 0.7459 MB / 345.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.457, allocations: 11.59 kB / 345.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.457, allocations: 4.75 kB / 345.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.935e-05/0.4571, allocations: 12 kB / 345.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.4579, allocations: 115.7 kB / 345.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.4579, allocations: 15.94 kB / 345.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.4585, allocations: 43.72 kB / 345.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.4586, allocations: 51.98 kB / 345.7 MB, free: 5.914 MB / 298.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.0003123/0.4589, allocations: 191.8 kB / 345.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001426/0.4604, allocations: 0.5387 MB / 346.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.4605, allocations: 51.38 kB / 346.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.4625, allocations: 0.6673 MB / 347.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.4625, allocations: 12 kB / 347.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4625, allocations: 0 / 347.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.4626, allocations: 7.984 kB / 347.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.4664, allocations: 1.463 MB / 348.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4665, allocations: 0 / 348.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.467, allocations: 79.77 kB / 348.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.467, allocations: 4 kB / 348.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.4671, allocations: 7.984 kB / 348.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.4671, allocations: 4 kB / 348.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4671, allocations: 0 / 348.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.469, allocations: 0.7379 MB / 349.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.4691, allocations: 132.4 kB / 349.6 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4693, allocations: 4 kB / 349.6 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.4697, allocations: 31.91 kB / 349.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/0.4701, allocations: 105.1 kB / 349.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.4702, allocations: 32 kB / 349.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.4704, allocations: 148.5 kB / 349.9 MB, free: 1.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4704, allocations: 0 / 349.9 MB, free: 1.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008764/0.4713, allocations: 135.8 kB / 350.1 MB, free: 1.465 MB / 298.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.002347/0.4736, allocations: 1.402 MB / 351.5 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.4754, allocations: 0.662 MB / 352.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4755, allocations: 1.5 kB / 352.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.4763, allocations: 348.9 kB / 352.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.477, allocations: 60.41 kB / 352.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.4811, allocations: 0.9559 MB / 353.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4822, allocations: 0.9622 MB / 354.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008311/0.483, allocations: 109.9 kB / 354.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008679/0.4839, allocations: 259.3 kB / 354.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.984e-06/0.484, allocations: 0 / 354.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08503/0.569, allocations: 11.61 MB / 366.4 MB, free: 1.031 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/0.5694, allocations: 136.7 kB / 366.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.417, allocations: 0 / 366.6 MB, free: 0.832 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat