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.05/2.05, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.772e-05, allocations: 0 / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5266, allocations: 71.98 MB / 371.9 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.527, allocations: 63.05 kB / 372 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09175/0.6188, allocations: 11.41 MB / 383.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.6188, allocations: 0 / 383.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.46e-05/0.6189, allocations: 22.09 kB / 383.4 MB, free: 21.32 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.002928/0.6219, allocations: 0.8847 MB / 384.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/0.6219, allocations: 9.594 kB / 384.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000452/0.6224, allocations: 152.9 kB / 384.5 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.6228, allocations: 90.16 kB / 384.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.6241, allocations: 433.3 kB / 385 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6243, allocations: 86.89 kB / 385.1 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.6246, allocations: 106.5 kB / 385.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/0.6282, allocations: 0.907 MB / 386.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/0.6283, allocations: 4 kB / 386.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.6285, allocations: 36.34 kB / 386.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.6285, allocations: 22.16 kB / 386.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.6316, allocations: 0.7101 MB / 386.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007082/0.6387, allocations: 2.342 MB / 389.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.6407, allocations: 0.643 MB / 389.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009535/0.6417, allocations: 328.3 kB / 390.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.6418, allocations: 16.3 kB / 390.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.643, allocations: 432.3 kB / 390.6 MB, free: 19.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 7.003e-06/0.6431, allocations: 3.938 kB / 390.6 MB, free: 19.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.00214/0.6452, allocations: 0.5939 MB / 391.2 MB, free: 19.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.6454, allocations: 100.5 kB / 391.3 MB, free: 19.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.6459, allocations: 292.1 kB / 391.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.6462, allocations: 78.47 kB / 391.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6465, allocations: 287.6 kB / 391.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.6469, allocations: 255.3 kB / 392.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.647, allocations: 23.16 kB / 392.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6471, allocations: 367.4 kB / 392.6 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009461/0.6481, allocations: 251.8 kB / 392.8 MB, free: 18.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.6493, allocations: 467.2 kB / 393.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.6503, allocations: 275.5 kB / 393.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.6503, allocations: 0 / 393.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002752/0.6531, allocations: 0.8433 MB / 394.4 MB, free: 17.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.702e-05/0.6532, allocations: 11.77 kB / 394.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.6533, allocations: 3.906 kB / 394.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.804e-05/0.6533, allocations: 11.72 kB / 394.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6544, allocations: 114.4 kB / 394.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.251e-05/0.6545, allocations: 19.64 kB / 394.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.6555, allocations: 73.14 kB / 394.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.6557, allocations: 46.36 kB / 394.7 MB, free: 17.86 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.0004677/0.6562, allocations: 219.2 kB / 394.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.6564, allocations: 50.25 kB / 394.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.6589, allocations: 0.7373 MB / 395.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.6589, allocations: 11.69 kB / 395.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.659, allocations: 0 / 395.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.659, allocations: 6.094 kB / 395.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/0.6641, allocations: 1.643 MB / 397.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.6642, allocations: 0 / 397.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.6649, allocations: 74.23 kB / 397.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.6649, allocations: 7.781 kB / 397.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/0.665, allocations: 24.89 kB / 397.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.6651, allocations: 11.89 kB / 397.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6651, allocations: 4 kB / 397.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.6671, allocations: 0.7713 MB / 398.2 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.6673, allocations: 127.9 kB / 398.3 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6675, allocations: 29.78 kB / 398.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.6681, allocations: 41.31 kB / 398.4 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/0.6685, allocations: 106.1 kB / 398.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.6687, allocations: 33.98 kB / 398.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.6689, allocations: 157.2 kB / 398.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6689, allocations: 0 / 398.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001342/0.6703, allocations: 165.9 kB / 398.9 MB, free: 16.77 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.002519/0.6728, allocations: 1.465 MB / 400.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.6752, allocations: 0.7233 MB / 401 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.6752, allocations: 0 / 401 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.6763, allocations: 374.2 kB / 401.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.6773, allocations: 87.81 kB / 401.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.6815, allocations: 1.032 MB / 402.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.6822, allocations: 0.9624 MB / 403.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008761/0.6831, allocations: 106.7 kB / 403.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/0.684, allocations: 259.4 kB / 403.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.684, allocations: 3.938 kB / 403.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/0.7385, allocations: 12.03 MB / 415.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.7388, allocations: 153.2 kB / 416 MB, free: 10.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/3.89, allocations: 0 / 416 MB, free: 10.85 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