Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.853e-05, allocations: 7.984 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5474, allocations: 83 MB / 425.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.5477, allocations: 62.59 kB / 425.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09976/0.6475, allocations: 28.41 MB / 454.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6475, allocations: 192 / 454.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.6475, allocations: 4 kB / 454.1 MB, free: 3.5 MB / 362.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.0007126/0.6483, allocations: 0.6185 MB / 454.7 MB, free: 2.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.6483, allocations: 12.03 kB / 454.7 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.6484, allocations: 41.94 kB / 454.8 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/0.6485, allocations: 35.58 kB / 454.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.6489, allocations: 268.4 kB / 455.1 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.649, allocations: 7.562 kB / 455.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.649, allocations: 8 kB / 455.1 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.6494, allocations: 149.2 kB / 455.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6494, allocations: 0 / 455.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.6495, allocations: 4 kB / 455.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6495, allocations: 0 / 455.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.6497, allocations: 68.62 kB / 455.3 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.6507, allocations: 478.2 kB / 455.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.651, allocations: 102.3 kB / 455.9 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.6512, allocations: 92.59 kB / 456 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.6513, allocations: 0 / 456 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.6517, allocations: 231.5 kB / 456.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.6517, allocations: 0 / 456.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001008/0.6527, allocations: 435.4 kB / 456.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6528, allocations: 166.2 kB / 456.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008924/0.6537, allocations: 462.5 kB / 457.2 MB, free: 308 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.6538, allocations: 33.7 kB / 457.3 MB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.6539, allocations: 163.5 kB / 457.4 MB, free: 104 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.654, allocations: 31.64 kB / 457.5 MB, free: 72 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.654, allocations: 11.94 kB / 457.5 MB, free: 60 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6542, allocations: 314.8 kB / 457.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.6544, allocations: 63.98 kB / 457.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.6546, allocations: 63.97 kB / 457.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.6549, allocations: 166.8 kB / 458.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6549, allocations: 0 / 458.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000883/0.6558, allocations: 416.9 kB / 458.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.6559, allocations: 122.8 kB / 458.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6559, allocations: 3.953 kB / 458.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6559, allocations: 0 / 458.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.005e-05/0.656, allocations: 0 / 458.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.656, allocations: 0 / 458.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.6563, allocations: 19.92 kB / 458.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.6565, allocations: 119.9 kB / 458.7 MB, free: 14.71 MB / 378.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.0002386/0.6567, allocations: 241.5 kB / 459 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.6568, allocations: 47.52 kB / 459 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.657, allocations: 67.42 kB / 459.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.657, allocations: 3.953 kB / 459.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6571, allocations: 0 / 459.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.6571, allocations: 4 kB / 459.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.6586, allocations: 0.8292 MB / 459.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6586, allocations: 3.984 kB / 459.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.6586, allocations: 0 / 459.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6586, allocations: 3.953 kB / 459.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/0.6587, allocations: 27.98 kB / 459.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6587, allocations: 3.938 kB / 460 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.6587, allocations: 0 / 460 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.6598, allocations: 0.5487 MB / 460.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/0.6603, allocations: 252.4 kB / 460.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.881e-05/0.6605, allocations: 15.95 kB / 460.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.6607, allocations: 12.17 kB / 460.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.6609, allocations: 39.91 kB / 460.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.6611, allocations: 127.8 kB / 460.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007217/0.6618, allocations: 384.9 kB / 461.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6619, allocations: 0 / 461.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.6623, allocations: 40 kB / 461.4 MB, free: 11.91 MB / 378.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.001439/0.6638, allocations: 1.121 MB / 462.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.6645, allocations: 441.6 kB / 462.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6646, allocations: 0 / 462.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.665, allocations: 377.6 kB / 463.3 MB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.6659, allocations: 115.9 kB / 463.4 MB, free: 9.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.6677, allocations: 0.6552 MB / 464 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.6683, allocations: 0.8104 MB / 464.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.6684, allocations: 27.42 kB / 464.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6684, allocations: 0 / 464.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.522/3.19, allocations: 4.407 MB / 469.3 MB, free: 3.727 MB / 378.7 MB