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.189/2.189, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.17e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3364, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4688, allocations: 71.32 MB / 365.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4691, allocations: 63.97 kB / 365.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04574/0.5148, allocations: 11.13 MB / 376.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5149, allocations: 4 kB / 376.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.13e-05/0.5149, allocations: 20 kB / 376.8 MB, free: 15.23 MB / 330.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.002518/0.5175, allocations: 0.8886 MB / 377.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.5176, allocations: 8.031 kB / 377.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.5179, allocations: 90.97 kB / 377.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.5189, allocations: 437.9 kB / 378.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/0.519, allocations: 44 kB / 378.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.5192, allocations: 60 kB / 378.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002084/0.5213, allocations: 0.656 MB / 378.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.5235, allocations: 0.7815 MB / 379.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.5235, allocations: 0 / 379.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.5236, allocations: 4 kB / 379.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.5237, allocations: 24 kB / 379.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.5286, allocations: 2.178 MB / 381.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.53, allocations: 0.5995 MB / 382.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000692/0.5307, allocations: 300 kB / 382.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5309, allocations: 20.7 kB / 382.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009081/0.5318, allocations: 395.7 kB / 383.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 6.853e-06/0.5318, allocations: 0 / 383.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.001629/0.5334, allocations: 0.5542 MB / 383.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.5335, allocations: 93.88 kB / 383.9 MB, free: 7.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.534, allocations: 283.7 kB / 384.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5342, allocations: 49.69 kB / 384.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.5345, allocations: 293 kB / 384.5 MB, free: 7.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.5348, allocations: 233 kB / 384.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.5349, allocations: 0 / 384.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5351, allocations: 362.8 kB / 385.1 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.5358, allocations: 234.6 kB / 385.3 MB, free: 6.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.5367, allocations: 437.8 kB / 385.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007559/0.5375, allocations: 242.3 kB / 385.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.5375, allocations: 0 / 385.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002057/0.5396, allocations: 0.7382 MB / 386.7 MB, free: 4.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.5396, allocations: 8 kB / 386.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.5397, allocations: 8.75 kB / 386.7 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-05/0.5397, allocations: 15.94 kB / 386.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.5405, allocations: 115.6 kB / 386.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/0.5406, allocations: 12 kB / 386.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.5411, allocations: 43.72 kB / 386.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.5413, allocations: 51.98 kB / 386.9 MB, free: 4.656 MB / 330.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.000318/0.5416, allocations: 182.6 kB / 387.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001506/0.5431, allocations: 0.5427 MB / 387.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5433, allocations: 51.44 kB / 387.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.5453, allocations: 0.671 MB / 388.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.5453, allocations: 12.03 kB / 388.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5453, allocations: 7.938 kB / 388.4 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.5454, allocations: 3.984 kB / 388.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.5497, allocations: 1.463 MB / 389.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.5497, allocations: 3.984 kB / 389.9 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.5503, allocations: 71.78 kB / 389.9 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.5503, allocations: 11.94 kB / 389.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.5504, allocations: 7.984 kB / 390 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.5504, allocations: 8 kB / 390 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.5504, allocations: 3.953 kB / 390 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.5522, allocations: 0.7224 MB / 390.7 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.5524, allocations: 136.3 kB / 390.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.5525, allocations: 8 kB / 390.8 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.5529, allocations: 31.92 kB / 390.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.5533, allocations: 105.1 kB / 391 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-05/0.5534, allocations: 32 kB / 391 MB, free: 492 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.5536, allocations: 152.4 kB / 391.1 MB, free: 344 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5536, allocations: 0 / 391.1 MB, free: 344 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008618/0.5545, allocations: 128 kB / 391.3 MB, free: 216 kB / 330.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.002372/0.5569, allocations: 1.402 MB / 392.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.5586, allocations: 0.662 MB / 393.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5586, allocations: 1.5 kB / 393.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.5594, allocations: 348.9 kB / 393.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.5601, allocations: 60.44 kB / 393.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.563, allocations: 0.9521 MB / 394.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.5638, allocations: 0.9583 MB / 395.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006088/0.5644, allocations: 105.9 kB / 395.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.5651, allocations: 267.3 kB / 396 MB, free: 11.37 MB / 346.7 MB Notification: Performance of SimCode: time 3.758e-06/0.5651, allocations: 0 / 396 MB, free: 11.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06525/0.6304, allocations: 11.62 MB / 407.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.6307, allocations: 132.9 kB / 407.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/3.844, allocations: 4 kB / 407.8 MB, free: 15.57 MB / 362.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