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.278/2.278, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.402e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.09873, allocations: 44.5 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.4932, allocations: 71.99 MB / 371.9 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4935, allocations: 67 kB / 372 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04876/0.5423, allocations: 11.41 MB / 383.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5424, allocations: 0 / 383.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.529e-05/0.5425, allocations: 27.28 kB / 383.4 MB, free: 20.33 MB / 314.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.002436/0.5449, allocations: 0.8846 MB / 384.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.545, allocations: 13.42 kB / 384.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003384/0.5453, allocations: 144 kB / 384.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.5456, allocations: 89.94 kB / 384.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.5465, allocations: 439.5 kB / 385 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.5467, allocations: 86.81 kB / 385.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.5469, allocations: 104.8 kB / 385.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.5496, allocations: 0.8987 MB / 386.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.5497, allocations: 0 / 386.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.5498, allocations: 38.81 kB / 386.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.5498, allocations: 21.88 kB / 386.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.552, allocations: 0.6932 MB / 386.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.5574, allocations: 2.343 MB / 389.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5589, allocations: 0.635 MB / 389.8 MB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.5596, allocations: 330.4 kB / 390.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/0.5597, allocations: 20.38 kB / 390.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008265/0.5605, allocations: 420.7 kB / 390.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 4.098e-06/0.5605, allocations: 3.938 kB / 390.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.001484/0.562, allocations: 0.5953 MB / 391.2 MB, free: 18.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.5621, allocations: 100.3 kB / 391.3 MB, free: 18.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.5626, allocations: 289.6 kB / 391.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.5627, allocations: 68.44 kB / 391.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.563, allocations: 356.9 kB / 392 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.5632, allocations: 250.6 kB / 392.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.5633, allocations: 26.59 kB / 392.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.5634, allocations: 351.2 kB / 392.6 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.5641, allocations: 258.1 kB / 392.8 MB, free: 17.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.5649, allocations: 463.9 kB / 393.3 MB, free: 17.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.5655, allocations: 266.3 kB / 393.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.5656, allocations: 3.906 kB / 393.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001793/0.5674, allocations: 0.815 MB / 394.4 MB, free: 16.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.5674, allocations: 11.8 kB / 394.4 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.5675, allocations: 7.875 kB / 394.4 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/0.5675, allocations: 12.38 kB / 394.4 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.5682, allocations: 111.6 kB / 394.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.5683, allocations: 15.62 kB / 394.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.5689, allocations: 70.55 kB / 394.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.569, allocations: 57.08 kB / 394.6 MB, free: 16.83 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.0002968/0.5694, allocations: 215.5 kB / 394.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5695, allocations: 50.58 kB / 394.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.5712, allocations: 0.7312 MB / 395.6 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.5713, allocations: 11.69 kB / 395.6 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.5713, allocations: 4 kB / 395.6 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.5713, allocations: 7.359 kB / 395.7 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.575, allocations: 1.642 MB / 397.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.5751, allocations: 0 / 397.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.5756, allocations: 72.58 kB / 397.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/0.5756, allocations: 7.812 kB / 397.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.5757, allocations: 25.3 kB / 397.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.5757, allocations: 7.828 kB / 397.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5757, allocations: 3.938 kB / 397.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5771, allocations: 0.7751 MB / 398.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5773, allocations: 127.9 kB / 398.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5774, allocations: 26.27 kB / 398.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.5778, allocations: 49.47 kB / 398.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.5781, allocations: 99.86 kB / 398.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-05/0.5782, allocations: 31.02 kB / 398.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.5784, allocations: 153.7 kB / 398.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5784, allocations: 0 / 398.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.5794, allocations: 173.6 kB / 398.8 MB, free: 15.74 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.001814/0.5812, allocations: 1.457 MB / 400.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.5829, allocations: 0.7044 MB / 401 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.583, allocations: 0 / 401 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007466/0.5837, allocations: 362.6 kB / 401.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.5844, allocations: 82.48 kB / 401.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.5874, allocations: 1.044 MB / 402.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/0.5884, allocations: 0.9458 MB / 403.4 MB, free: 29.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006234/0.589, allocations: 261.5 kB / 403.7 MB, free: 29.78 MB / 330.7 MB Notification: Performance of SimCode: time 2.605e-06/0.589, allocations: 0 / 403.7 MB, free: 29.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.724/3.313, allocations: 11.23 MB / 414.9 MB, free: 26.38 MB / 330.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