Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.208e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5747, allocations: 77.55 MB / 420.2 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.575, allocations: 66.47 kB / 420.3 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05037/0.6254, allocations: 11.9 MB / 432.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6255, allocations: 0 / 432.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.036e-05/0.6256, allocations: 27.94 kB / 432.2 MB, free: 6.348 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002276/0.6278, allocations: 0.9133 MB / 433.1 MB, free: 5.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.6279, allocations: 15.97 kB / 433.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002972/0.6282, allocations: 152.6 kB / 433.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.6285, allocations: 90.97 kB / 433.3 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.6294, allocations: 448.4 kB / 433.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6296, allocations: 87.88 kB / 433.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.6298, allocations: 104.1 kB / 434 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.6322, allocations: 0.9336 MB / 434.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.6322, allocations: 0 / 434.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.6323, allocations: 44.38 kB / 434.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.6324, allocations: 24 kB / 435 MB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.6343, allocations: 0.6772 MB / 435.6 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005377/0.6397, allocations: 2.482 MB / 438.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.6413, allocations: 0.6483 MB / 438.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.6421, allocations: 341.6 kB / 439.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.6422, allocations: 24.09 kB / 439.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009516/0.6432, allocations: 425.3 kB / 439.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 4.057e-06/0.6432, allocations: 0 / 439.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.001631/0.6448, allocations: 0.6045 MB / 440.2 MB, free: 28 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.645, allocations: 126.5 kB / 440.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.6454, allocations: 291.4 kB / 440.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.6456, allocations: 82.75 kB / 440.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.6459, allocations: 299.8 kB / 440.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.6462, allocations: 246.9 kB / 441.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.6463, allocations: 22.31 kB / 441.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6465, allocations: 368.1 kB / 441.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007322/0.6473, allocations: 260.1 kB / 441.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/0.6482, allocations: 464 kB / 442.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.649, allocations: 273.8 kB / 442.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.649, allocations: 4 kB / 442.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002088/0.6511, allocations: 0.8378 MB / 443.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.6512, allocations: 8 kB / 443.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.6512, allocations: 7.984 kB / 443.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.093e-05/0.6512, allocations: 16 kB / 443.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.652, allocations: 121.8 kB / 443.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/0.652, allocations: 12.59 kB / 443.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.6526, allocations: 77.53 kB / 443.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.6528, allocations: 50.61 kB / 443.7 MB, free: 13.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($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,$PRE.transition7.t_start,transition7.t_start,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 (156): * Single equations (assignments): 156 * 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.0003243/0.6531, allocations: 224.8 kB / 443.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.6533, allocations: 51.42 kB / 443.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.6552, allocations: 0.7289 MB / 444.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.6552, allocations: 12 kB / 444.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6553, allocations: 3.953 kB / 444.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.6553, allocations: 7.922 kB / 444.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.6595, allocations: 1.666 MB / 446.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6595, allocations: 8 kB / 446.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.6601, allocations: 67.83 kB / 446.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.6601, allocations: 4 kB / 446.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.6602, allocations: 27.98 kB / 446.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.6602, allocations: 4 kB / 446.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6602, allocations: 4 kB / 446.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6619, allocations: 0.8016 MB / 447.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.6621, allocations: 128.3 kB / 447.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6622, allocations: 27.95 kB / 447.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.6626, allocations: 43.97 kB / 447.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.663, allocations: 100.8 kB / 447.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/0.6631, allocations: 35.98 kB / 447.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.6633, allocations: 153.4 kB / 447.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6633, allocations: 4 kB / 447.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009167/0.6642, allocations: 164 kB / 447.9 MB, free: 8.859 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 85 (transition7.t_start,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: 9 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.002266/0.6665, allocations: 1.55 MB / 449.5 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.6685, allocations: 0.7139 MB / 450.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/0.6686, allocations: 0 / 450.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009514/0.6695, allocations: 375.9 kB / 450.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.6702, allocations: 80.44 kB / 450.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.6734, allocations: 1.065 MB / 451.7 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.6741, allocations: 0.9703 MB / 452.7 MB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006053/0.6748, allocations: 106 kB / 452.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/0.6754, allocations: 275.3 kB / 453 MB, free: 3.629 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/0.6754, allocations: 3.938 kB / 453 MB, free: 3.625 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.7221, allocations: 12.18 MB / 465.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.7224, allocations: 160.4 kB / 465.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/3.648, allocations: 0 / 465.4 MB, free: 7.293 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat