Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.433e-05, allocations: 4 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3164, allocations: 44.49 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.449, allocations: 71.32 MB / 365.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4493, allocations: 71.97 kB / 365.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04593/0.4952, allocations: 11.12 MB / 376.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4953, allocations: 0 / 376.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.725e-05/0.4953, allocations: 27.94 kB / 376.7 MB, free: 15.37 MB / 330.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.002177/0.4975, allocations: 0.8847 MB / 377.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.4976, allocations: 12.03 kB / 377.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003744/0.498, allocations: 90.97 kB / 377.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4992, allocations: 437.9 kB / 378.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.695e-05/0.4994, allocations: 35.98 kB / 378.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.4996, allocations: 72 kB / 378.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002111/0.5017, allocations: 0.6443 MB / 378.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.5039, allocations: 0.7854 MB / 379.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.5039, allocations: 4 kB / 379.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.504, allocations: 3.984 kB / 379.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.5041, allocations: 27.98 kB / 379.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.509, allocations: 2.182 MB / 381.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.5104, allocations: 0.6004 MB / 382.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.5111, allocations: 296 kB / 382.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.5112, allocations: 17.09 kB / 382.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009037/0.5121, allocations: 402.4 kB / 383.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 1.058e-05/0.5122, allocations: 0 / 383.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.00155/0.5137, allocations: 0.5464 MB / 383.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.5138, allocations: 101.9 kB / 383.8 MB, free: 7.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.5143, allocations: 279.7 kB / 384.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.5144, allocations: 53.69 kB / 384.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.5147, allocations: 347.5 kB / 384.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.515, allocations: 232.9 kB / 384.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.5151, allocations: 4.031 kB / 384.7 MB, free: 7.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5153, allocations: 350.8 kB / 385.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.5159, allocations: 234.6 kB / 385.3 MB, free: 6.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.5168, allocations: 437.7 kB / 385.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.5176, allocations: 242.3 kB / 386 MB, free: 5.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5176, allocations: 0 / 386 MB, free: 5.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001949/0.5195, allocations: 0.7267 MB / 386.7 MB, free: 5.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.5196, allocations: 8 kB / 386.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.5196, allocations: 7.984 kB / 386.7 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.5197, allocations: 12 kB / 386.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.5205, allocations: 120.3 kB / 386.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.5205, allocations: 12 kB / 386.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.5211, allocations: 47.72 kB / 386.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5212, allocations: 51.98 kB / 387 MB, free: 4.75 MB / 330.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.000305/0.5215, allocations: 182.6 kB / 387.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001443/0.523, allocations: 0.5388 MB / 387.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.5231, allocations: 47.42 kB / 387.7 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.525, allocations: 0.6711 MB / 388.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5251, allocations: 15.94 kB / 388.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5251, allocations: 4.031 kB / 388.4 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.5251, allocations: 7.984 kB / 388.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.5292, allocations: 1.459 MB / 389.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5292, allocations: 0 / 389.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.5297, allocations: 71.77 kB / 389.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/0.5298, allocations: 11.94 kB / 390 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.5298, allocations: 11.98 kB / 390 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.5298, allocations: 4 kB / 390 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.5299, allocations: 7.953 kB / 390 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5316, allocations: 0.7302 MB / 390.7 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5318, allocations: 128.4 kB / 390.8 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.5319, allocations: 8 kB / 390.8 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.5323, allocations: 27.92 kB / 390.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/0.5326, allocations: 105.1 kB / 391 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/0.5327, allocations: 39.98 kB / 391 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001808/0.5329, allocations: 144.5 kB / 391.1 MB, free: 452 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.533, allocations: 3.938 kB / 391.2 MB, free: 448 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008494/0.5338, allocations: 132 kB / 391.3 MB, free: 316 kB / 330.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.002247/0.5361, allocations: 1.406 MB / 392.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.5378, allocations: 0.662 MB / 393.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5378, allocations: 0 / 393.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.5385, allocations: 342.4 kB / 393.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.5391, allocations: 60.44 kB / 393.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.5419, allocations: 0.9577 MB / 394.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.5426, allocations: 0.9505 MB / 395.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.5433, allocations: 267.3 kB / 395.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5433, allocations: 0 / 395.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.897/3.44, allocations: 11.21 MB / 407.1 MB, free: 352 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat