Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.357e-05, allocations: 0 / 219.6 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2732, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.3972, allocations: 66.02 MB / 324.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.3976, allocations: 63.97 kB / 324.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04856/0.4462, allocations: 11.13 MB / 335.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4462, allocations: 0 / 335.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.488e-05/0.4463, allocations: 31.92 kB / 335.5 MB, free: 0.5156 MB / 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.002209/0.4485, allocations: 0.8769 MB / 336.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.4486, allocations: 12.03 kB / 336.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.4489, allocations: 98.95 kB / 336.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.4499, allocations: 426.1 kB / 337 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.561e-05/0.45, allocations: 39.98 kB / 337 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.4502, allocations: 64 kB / 337.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001935/0.4522, allocations: 0.6521 MB / 337.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.4543, allocations: 0.7776 MB / 338.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.4544, allocations: 4 kB / 338.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.4545, allocations: 11.98 kB / 338.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.4545, allocations: 24 kB / 338.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/0.4597, allocations: 2.185 MB / 340.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.4611, allocations: 0.6045 MB / 341.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/0.4618, allocations: 296 kB / 341.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.4619, allocations: 13.23 kB / 341.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008973/0.4629, allocations: 398.5 kB / 342 MB, free: 9.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.478e-06/0.4629, allocations: 0 / 342 MB, free: 9.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.00157/0.4645, allocations: 0.5387 MB / 342.5 MB, free: 9.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.4646, allocations: 101.9 kB / 342.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.465, allocations: 283.6 kB / 342.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.4652, allocations: 53.72 kB / 343 MB, free: 8.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.4655, allocations: 347.6 kB / 343.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.4658, allocations: 228.9 kB / 343.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.4659, allocations: 0 / 343.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4661, allocations: 358.8 kB / 343.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.4668, allocations: 230.6 kB / 344.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.4676, allocations: 441.2 kB / 344.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.4684, allocations: 242.6 kB / 344.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.4684, allocations: 0 / 344.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00199/0.4704, allocations: 0.7343 MB / 345.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.4705, allocations: 8.75 kB / 345.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.4705, allocations: 4 kB / 345.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/0.4706, allocations: 16 kB / 345.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.4713, allocations: 111.7 kB / 345.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.4714, allocations: 15.94 kB / 345.7 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.4719, allocations: 47.66 kB / 345.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.4721, allocations: 47.98 kB / 345.8 MB, free: 5.918 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.0003163/0.4724, allocations: 187.8 kB / 345.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001492/0.4739, allocations: 0.5387 MB / 346.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4741, allocations: 51.38 kB / 346.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.476, allocations: 0.675 MB / 347.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.4761, allocations: 12 kB / 347.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4761, allocations: 0 / 347.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4761, allocations: 3.984 kB / 347.2 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.4801, allocations: 1.478 MB / 348.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4802, allocations: 0 / 348.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.4807, allocations: 67.83 kB / 348.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.4807, allocations: 4 kB / 348.8 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.4808, allocations: 11.98 kB / 348.8 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.4808, allocations: 4 kB / 348.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4809, allocations: 0 / 348.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.4827, allocations: 0.7415 MB / 349.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4828, allocations: 132.3 kB / 349.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.483, allocations: 8 kB / 349.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.4834, allocations: 23.97 kB / 349.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.4837, allocations: 101.2 kB / 349.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/0.4838, allocations: 35.98 kB / 349.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.484, allocations: 144.5 kB / 350 MB, free: 1.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.484, allocations: 0 / 350 MB, free: 1.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008815/0.4849, allocations: 135.9 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.002299/0.4872, allocations: 1.398 MB / 351.5 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.489, allocations: 0.6672 MB / 352.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4891, allocations: 0 / 352.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.4899, allocations: 337.2 kB / 352.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.4906, allocations: 67 kB / 352.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.4936, allocations: 0.9732 MB / 353.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.4943, allocations: 0.9466 MB / 354.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/0.4951, allocations: 267.3 kB / 354.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4951, allocations: 0 / 354.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.719/3.215, allocations: 11.2 MB / 365.9 MB, free: 1.496 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat