Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.139/2.139, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.764e-05, allocations: 2.031 kB / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 50.41 MB / 343.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5793, allocations: 77.58 MB / 420.7 MB, free: 256 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.5796, allocations: 68.22 kB / 420.8 MB, free: 224 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05393/0.6336, allocations: 11.89 MB / 432.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6336, allocations: 0 / 432.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.112e-05/0.6337, allocations: 31.92 kB / 432.7 MB, free: 5.922 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.002704/0.6364, allocations: 0.9113 MB / 433.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.6365, allocations: 16.03 kB / 433.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004245/0.6369, allocations: 151.5 kB / 433.8 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.6372, allocations: 94.91 kB / 433.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6383, allocations: 441 kB / 434.3 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.6384, allocations: 88.25 kB / 434.4 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.6387, allocations: 106.6 kB / 434.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.6413, allocations: 0.9314 MB / 435.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.6414, allocations: 3.938 kB / 435.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.6416, allocations: 44.81 kB / 435.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.6416, allocations: 28 kB / 435.5 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.6439, allocations: 0.6758 MB / 436.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007673/0.6517, allocations: 2.477 MB / 438.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6534, allocations: 0.6541 MB / 439.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008196/0.6543, allocations: 344.3 kB / 439.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.6544, allocations: 18.09 kB / 439.7 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.6555, allocations: 426.3 kB / 440.1 MB, free: 84 kB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 4.779e-06/0.6555, allocations: 0 / 440.1 MB, free: 84 kB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.001791/0.6573, allocations: 0.6057 MB / 440.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.6575, allocations: 127.3 kB / 440.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.658, allocations: 291.5 kB / 441.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.6582, allocations: 72.75 kB / 441.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.6585, allocations: 309.3 kB / 441.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.6589, allocations: 245.7 kB / 441.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.659, allocations: 27.44 kB / 441.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6591, allocations: 362.5 kB / 442.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.6602, allocations: 260.5 kB / 442.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.6617, allocations: 466.6 kB / 442.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.6627, allocations: 275.5 kB / 443.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.6628, allocations: 4 kB / 443.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002729/0.6655, allocations: 0.8342 MB / 443.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.6656, allocations: 8 kB / 443.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.6656, allocations: 4 kB / 443.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-05/0.6657, allocations: 16 kB / 443.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.6671, allocations: 130.2 kB / 444.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-05/0.6672, allocations: 12 kB / 444.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6683, allocations: 85.25 kB / 444.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.6686, allocations: 43.44 kB / 444.2 MB, free: 12.68 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.0005169/0.6692, allocations: 219.9 kB / 444.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.6694, allocations: 47.44 kB / 444.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.6721, allocations: 0.732 MB / 445.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.6722, allocations: 8 kB / 445.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.6723, allocations: 7.953 kB / 445.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/0.6723, allocations: 7.969 kB / 445.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/0.679, allocations: 1.673 MB / 446.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/0.6791, allocations: 4 kB / 446.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.68, allocations: 67.83 kB / 447 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.039e-05/0.68, allocations: 4 kB / 447 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.6801, allocations: 19.98 kB / 447 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.6802, allocations: 8 kB / 447 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6802, allocations: 4 kB / 447 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6821, allocations: 0.8094 MB / 447.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.6823, allocations: 128.3 kB / 447.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.6826, allocations: 23.95 kB / 448 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.6832, allocations: 43.97 kB / 448 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/0.6836, allocations: 104.8 kB / 448.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6837, allocations: 35.98 kB / 448.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.6839, allocations: 149.4 kB / 448.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6839, allocations: 0 / 448.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001123/0.6851, allocations: 168 kB / 448.5 MB, free: 8.734 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.002413/0.6876, allocations: 1.551 MB / 450 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.6899, allocations: 0.7126 MB / 450.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.69, allocations: 1.562 kB / 450.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.691, allocations: 379.6 kB / 451.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.6918, allocations: 76.5 kB / 451.2 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.6955, allocations: 1.069 MB / 452.2 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/0.6963, allocations: 0.9703 MB / 453.2 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006864/0.697, allocations: 106 kB / 453.3 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/0.6977, allocations: 271.3 kB / 453.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6977, allocations: 0 / 453.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/0.748, allocations: 12.18 MB / 465.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.7484, allocations: 152.4 kB / 465.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/3.986, allocations: 4 kB / 465.9 MB, free: 7.176 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.StateGraph.Examples.ExecutionPaths_res.mat does not exist to compare? outputFormat=mat