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.829/1.829, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.749e-05, allocations: 4 kB / 225 MB, free: 2.637 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2839, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4223, allocations: 66.68 MB / 330.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4226, allocations: 63.97 kB / 330.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05187/0.4745, allocations: 11.4 MB / 342 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.38e-06/0.4746, allocations: 4 kB / 342 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.396e-05/0.4747, allocations: 27.88 kB / 342 MB, free: 11.51 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.002595/0.4773, allocations: 0.8847 MB / 342.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4773, allocations: 8.031 kB / 342.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003925/0.4778, allocations: 151.8 kB / 343 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.478, allocations: 94.95 kB / 343.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.4791, allocations: 425.9 kB / 343.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.4793, allocations: 93.98 kB / 343.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.4795, allocations: 103.9 kB / 343.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.4821, allocations: 0.9066 MB / 344.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.4822, allocations: 0 / 344.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.4823, allocations: 40 kB / 344.7 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.4824, allocations: 23.94 kB / 344.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.4847, allocations: 0.7106 MB / 345.4 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/0.4907, allocations: 2.349 MB / 347.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4924, allocations: 0.6484 MB / 348.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/0.4933, allocations: 331.8 kB / 348.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.4935, allocations: 14.11 kB / 348.8 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.4945, allocations: 428.9 kB / 349.2 MB, free: 4.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.619e-06/0.4946, allocations: 0 / 349.2 MB, free: 4.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001725/0.4963, allocations: 0.5896 MB / 349.8 MB, free: 3.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.4964, allocations: 101.8 kB / 349.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/0.497, allocations: 296.2 kB / 350.2 MB, free: 3.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.4972, allocations: 73.69 kB / 350.2 MB, free: 2.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.4976, allocations: 355.6 kB / 350.6 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.4979, allocations: 240.9 kB / 350.8 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.498, allocations: 28 kB / 350.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4982, allocations: 350.8 kB / 351.2 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008099/0.499, allocations: 258.6 kB / 351.4 MB, free: 1.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009474/0.5, allocations: 463.8 kB / 351.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/0.5008, allocations: 268.9 kB / 352.1 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.5008, allocations: 8 kB / 352.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002214/0.5031, allocations: 0.8325 MB / 353 MB, free: 116 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.5031, allocations: 8 kB / 353 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.5032, allocations: 4 kB / 353 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.343e-05/0.5032, allocations: 12 kB / 353 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.5041, allocations: 115.8 kB / 353.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/0.5041, allocations: 19.92 kB / 353.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.5048, allocations: 71.84 kB / 353.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.5049, allocations: 47.98 kB / 353.3 MB, free: 15.84 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.0003754/0.5053, allocations: 218.7 kB / 353.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5055, allocations: 51.38 kB / 353.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.5075, allocations: 0.7415 MB / 354.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.5076, allocations: 8 kB / 354.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.5076, allocations: 4 kB / 354.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.5076, allocations: 3.984 kB / 354.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.5121, allocations: 1.647 MB / 355.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5122, allocations: 0 / 355.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.5128, allocations: 71.77 kB / 356 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.5128, allocations: 4 kB / 356 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.5129, allocations: 27.98 kB / 356 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.5129, allocations: 4 kB / 356 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5129, allocations: 0 / 356 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.5147, allocations: 0.7796 MB / 356.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.5149, allocations: 132.3 kB / 356.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5151, allocations: 24 kB / 357 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.5155, allocations: 47.84 kB / 357 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.5159, allocations: 108.8 kB / 357.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/0.516, allocations: 31.98 kB / 357.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.5162, allocations: 153.3 kB / 357.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5162, allocations: 4 kB / 357.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009564/0.5172, allocations: 164 kB / 357.5 MB, free: 11.52 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.002313/0.5196, allocations: 1.452 MB / 358.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.5217, allocations: 0.7259 MB / 359.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.5218, allocations: 4 kB / 359.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5229, allocations: 369.6 kB / 360 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.5237, allocations: 73.08 kB / 360.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.5272, allocations: 1.057 MB / 361.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.528, allocations: 0.9547 MB / 362.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/0.5288, allocations: 263.3 kB / 362.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.5288, allocations: 0 / 362.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.117/3.645, allocations: 11.25 MB / 373.6 MB, free: 88.36 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