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.953/1.953, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.488e-05, allocations: 4 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2724, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.396, allocations: 66.68 MB / 330.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.3963, allocations: 63.97 kB / 330.6 MB, free: 7.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05288/0.4492, allocations: 11.41 MB / 342 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4493, allocations: 0 / 342 MB, free: 11.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.133e-05/0.4494, allocations: 31.92 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.002793/0.4522, allocations: 0.8886 MB / 342.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.4522, allocations: 8.031 kB / 342.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004777/0.4527, allocations: 147.8 kB / 343.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.4531, allocations: 90.97 kB / 343.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.4543, allocations: 429.9 kB / 343.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.4545, allocations: 85.98 kB / 343.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.4547, allocations: 104 kB / 343.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.4577, allocations: 0.9026 MB / 344.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.4578, allocations: 0 / 344.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.4579, allocations: 36 kB / 344.7 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.458, allocations: 24 kB / 344.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.4606, allocations: 0.695 MB / 345.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.4671, allocations: 2.349 MB / 347.8 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.4689, allocations: 0.6363 MB / 348.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008997/0.4699, allocations: 331.8 kB / 348.7 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.47, allocations: 24.73 kB / 348.8 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.4711, allocations: 415 kB / 349.2 MB, free: 4.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.979e-06/0.4712, allocations: 0 / 349.2 MB, free: 4.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.001815/0.473, allocations: 0.5896 MB / 349.7 MB, free: 3.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.4732, allocations: 113.8 kB / 349.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.4737, allocations: 292.1 kB / 350.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.474, allocations: 73.69 kB / 350.2 MB, free: 3.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.4744, allocations: 347.6 kB / 350.6 MB, free: 2.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.4749, allocations: 248.9 kB / 350.8 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.475, allocations: 24 kB / 350.8 MB, free: 2.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4752, allocations: 354.8 kB / 351.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008672/0.4761, allocations: 250.6 kB / 351.4 MB, free: 1.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.4772, allocations: 469.2 kB / 351.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009645/0.4783, allocations: 268.8 kB / 352.1 MB, free: 1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.4783, allocations: 4 kB / 352.1 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002361/0.4807, allocations: 0.8126 MB / 353 MB, free: 180 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.4808, allocations: 9.562 kB / 353 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4808, allocations: 4 kB / 353 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.976e-05/0.4809, allocations: 12 kB / 353 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/0.4818, allocations: 116.3 kB / 353.1 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-05/0.4819, allocations: 15.98 kB / 353.1 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.4826, allocations: 71.77 kB / 353.2 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.4828, allocations: 47.98 kB / 353.2 MB, free: 15.9 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.0004025/0.4832, allocations: 218.7 kB / 353.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.4834, allocations: 55.31 kB / 353.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.4856, allocations: 0.7377 MB / 354.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.4856, allocations: 8 kB / 354.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4857, allocations: 4 kB / 354.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.4857, allocations: 3.984 kB / 354.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.4905, allocations: 1.65 MB / 355.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.4906, allocations: 0 / 355.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.4911, allocations: 71.77 kB / 356 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.4912, allocations: 4 kB / 356 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.4913, allocations: 24 kB / 356 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.445e-05/0.4913, allocations: 11.98 kB / 356 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4913, allocations: 0 / 356 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.4931, allocations: 0.7718 MB / 356.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.4933, allocations: 128.3 kB / 356.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4935, allocations: 24 kB / 356.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.494, allocations: 43.97 kB / 357 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.4943, allocations: 104.8 kB / 357.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.4944, allocations: 39.86 kB / 357.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.4946, allocations: 149.3 kB / 357.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4947, allocations: 0 / 357.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001008/0.4957, allocations: 172 kB / 357.4 MB, free: 11.6 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.0024/0.4981, allocations: 1.456 MB / 358.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.5002, allocations: 0.7049 MB / 359.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5003, allocations: 0 / 359.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.5013, allocations: 359.6 kB / 359.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.5021, allocations: 73.86 kB / 360 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.5056, allocations: 1.058 MB / 361.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.5064, allocations: 0.9469 MB / 362 MB, free: 6.887 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007539/0.5072, allocations: 263.3 kB / 362.3 MB, free: 6.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5072, allocations: 3.938 kB / 362.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.968/3.476, allocations: 11.23 MB / 373.5 MB, free: 88.31 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