Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.515e-05/4.528e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5119, allocations: 81.82 MB / 398.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5122, allocations: 64.47 kB / 398.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1218/0.6341, allocations: 28.05 MB / 427 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6342, allocations: 4 kB / 427 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.6342, allocations: 4 kB / 427 MB, free: 14.88 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007761/0.635, allocations: 0.6187 MB / 427.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.635, allocations: 8.031 kB / 427.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.78e-05/0.6351, allocations: 42.36 kB / 427.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.6352, allocations: 39.56 kB / 427.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.6357, allocations: 248.8 kB / 427.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.6357, allocations: 8 kB / 427.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.6358, allocations: 7.188 kB / 427.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.6362, allocations: 158.8 kB / 428.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.6363, allocations: 0 / 428.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.6363, allocations: 4 kB / 428.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6363, allocations: 0 / 428.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.6365, allocations: 66.28 kB / 428.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.6376, allocations: 477 kB / 428.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.6379, allocations: 111.4 kB / 428.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.6382, allocations: 89.08 kB / 428.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.6382, allocations: 0 / 428.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.6387, allocations: 221.7 kB / 429 MB, free: 12.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.584e-06/0.6387, allocations: 0 / 429 MB, free: 12.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001091/0.6398, allocations: 444.9 kB / 429.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.6399, allocations: 169.6 kB / 429.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009812/0.6409, allocations: 463 kB / 430.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.641, allocations: 33.02 kB / 430.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.6411, allocations: 92.14 kB / 430.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.522e-05/0.6412, allocations: 35.28 kB / 430.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.6412, allocations: 7.25 kB / 430.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6414, allocations: 322.6 kB / 430.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.6416, allocations: 61.67 kB / 430.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.6419, allocations: 68.91 kB / 430.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.6421, allocations: 176.9 kB / 430.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6422, allocations: 0 / 430.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001001/0.6432, allocations: 422.1 kB / 431.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.6433, allocations: 125.7 kB / 431.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6433, allocations: 0 / 431.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6434, allocations: 0 / 431.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.646e-05/0.6434, allocations: 3.984 kB / 431.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.6434, allocations: 4 kB / 431.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.6437, allocations: 8 kB / 431.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.6439, allocations: 127.7 kB / 431.5 MB, free: 10.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002829/0.6442, allocations: 252.2 kB / 431.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.6443, allocations: 39.53 kB / 431.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.6446, allocations: 66.92 kB / 431.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6446, allocations: 0 / 431.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6446, allocations: 4 kB / 431.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6446, allocations: 0 / 431.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.6463, allocations: 0.8392 MB / 432.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6463, allocations: 0 / 432.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.6463, allocations: 0 / 432.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.6463, allocations: 3.984 kB / 432.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.6464, allocations: 19.98 kB / 432.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6464, allocations: 0 / 432.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6464, allocations: 4 kB / 432.8 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6476, allocations: 0.5528 MB / 433.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.6482, allocations: 252.9 kB / 433.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6483, allocations: 15.5 kB / 433.6 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.6486, allocations: 11.98 kB / 433.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.6488, allocations: 34.77 kB / 433.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/0.649, allocations: 127.4 kB / 433.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008065/0.6498, allocations: 388.9 kB / 434.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6498, allocations: 0 / 434.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004599/0.6503, allocations: 40 kB / 434.2 MB, free: 7.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.001657/0.652, allocations: 1.119 MB / 435.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007839/0.6528, allocations: 446.2 kB / 435.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6528, allocations: 0 / 435.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.6533, allocations: 381.6 kB / 436.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.6542, allocations: 104.4 kB / 436.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.6561, allocations: 0.6162 MB / 436.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.6568, allocations: 0.8052 MB / 437.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.963e-05/0.6569, allocations: 16.58 kB / 437.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.6569, allocations: 25.44 kB / 437.6 MB, free: 4.516 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6569, allocations: 3.938 kB / 437.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.6918, allocations: 7.049 MB / 444.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.6922, allocations: 151 kB / 444.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.061, allocations: 4 kB / 444.9 MB, free: 13.21 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat