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.672/1.672, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.025e-05, allocations: 0 / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.257, allocations: 38.77 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.3761, allocations: 66.68 MB / 330.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3764, allocations: 67.95 kB / 330.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04756/0.424, allocations: 11.41 MB / 342 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.424, allocations: 0 / 342 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.355e-05/0.4241, allocations: 23.94 kB / 342 MB, free: 11.45 MB / 298.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.002062/0.4262, allocations: 0.8886 MB / 342.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.4262, allocations: 12.03 kB / 342.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/0.4265, allocations: 143.7 kB / 343.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.4268, allocations: 94.95 kB / 343.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/0.4277, allocations: 425.9 kB / 343.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.4278, allocations: 89.98 kB / 343.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.428, allocations: 100 kB / 343.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.4304, allocations: 0.9143 MB / 344.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.4304, allocations: 4 kB / 344.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4306, allocations: 39.98 kB / 344.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.4306, allocations: 20 kB / 344.7 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.4326, allocations: 0.7067 MB / 345.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00509/0.4377, allocations: 2.345 MB / 347.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.4392, allocations: 0.6484 MB / 348.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.44, allocations: 335.8 kB / 348.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.4401, allocations: 14.11 kB / 348.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009761/0.4411, allocations: 424.9 kB / 349.2 MB, free: 4.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.298e-06/0.4411, allocations: 0 / 349.2 MB, free: 4.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001621/0.4427, allocations: 0.5934 MB / 349.8 MB, free: 3.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.4428, allocations: 101.8 kB / 349.9 MB, free: 3.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.4433, allocations: 296.2 kB / 350.2 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.4435, allocations: 69.69 kB / 350.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.4437, allocations: 293.1 kB / 350.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.444, allocations: 244.8 kB / 350.8 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.4441, allocations: 31.94 kB / 350.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4443, allocations: 362.8 kB / 351.1 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.4451, allocations: 258.6 kB / 351.4 MB, free: 1.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009156/0.446, allocations: 463.8 kB / 351.9 MB, free: 1.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.4468, allocations: 272.8 kB / 352.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4468, allocations: 0 / 352.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00207/0.4489, allocations: 0.8474 MB / 353 MB, free: 92 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4489, allocations: 8 kB / 353 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4489, allocations: 4 kB / 353 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.449, allocations: 12.75 kB / 353 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.4497, allocations: 111.7 kB / 353.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.918e-05/0.4498, allocations: 19.92 kB / 353.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.4504, allocations: 71.69 kB / 353.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.4505, allocations: 47.98 kB / 353.2 MB, free: 15.82 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.0003137/0.4508, allocations: 227.3 kB / 353.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.451, allocations: 51.44 kB / 353.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.4529, allocations: 0.7299 MB / 354.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4529, allocations: 12 kB / 354.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4529, allocations: 0 / 354.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4529, allocations: 11.98 kB / 354.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/0.457, allocations: 1.643 MB / 355.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.457, allocations: 0 / 355.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.4576, allocations: 75.77 kB / 356 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.4577, allocations: 4 kB / 356 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4578, allocations: 27.98 kB / 356 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/0.4578, allocations: 4 kB / 356 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4578, allocations: 0 / 356 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.4596, allocations: 0.7756 MB / 356.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4597, allocations: 128.4 kB / 356.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.4598, allocations: 20 kB / 356.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.4603, allocations: 43.97 kB / 357 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.4606, allocations: 104.8 kB / 357.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4607, allocations: 35.98 kB / 357.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.4609, allocations: 157.3 kB / 357.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4609, allocations: 0 / 357.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008213/0.4618, allocations: 171.9 kB / 357.4 MB, free: 11.51 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.002178/0.464, allocations: 1.453 MB / 358.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.4659, allocations: 0.7211 MB / 359.6 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4659, allocations: 1.5 kB / 359.6 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000903/0.4668, allocations: 381.6 kB / 360 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.4674, allocations: 76.3 kB / 360.1 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.4704, allocations: 1.051 MB / 361.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.4711, allocations: 0.9547 MB / 362.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005524/0.4717, allocations: 109.9 kB / 362.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.4723, allocations: 259.3 kB / 362.4 MB, free: 6.414 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4723, allocations: 0 / 362.4 MB, free: 6.414 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2619/0.7342, allocations: 12.05 MB / 374.5 MB, free: 89 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.7345, allocations: 154.3 kB / 374.6 MB, free: 88.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.667, allocations: 0 / 374.6 MB, free: 88.77 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