Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.849e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008296/0.1198, allocations: 4.798 MB / 349.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.124, allocations: 1.422 MB / 351.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.125, allocations: 51.88 kB / 351.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.1255, allocations: 126.9 kB / 351.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1268, allocations: 235.1 kB / 351.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1282, allocations: 331.5 kB / 351.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.1304, allocations: 0.7803 MB / 352.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.1313, allocations: 338.5 kB / 353 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.132, allocations: 291.1 kB / 353.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.1326, allocations: 334.3 kB / 353.6 MB, free: 252 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.1329, allocations: 55.92 kB / 353.7 MB, free: 196 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.1331, allocations: 32 kB / 353.7 MB, free: 164 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1333, allocations: 159.2 kB / 353.9 MB, free: 4 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.1336, allocations: 92.05 kB / 354 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1354, allocations: 1.153 MB / 355.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1355, allocations: 4 kB / 355.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1355, allocations: 0 / 355.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.692e-05/0.1356, allocations: 4 kB / 355.1 MB, free: 14.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002855/0.1384, allocations: 1.167 MB / 356.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1385, allocations: 8.031 kB / 356.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.1389, allocations: 146.3 kB / 356.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.1406, allocations: 0.6892 MB / 357.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1408, allocations: 90.41 kB / 357.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.141, allocations: 112 kB / 357.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.1443, allocations: 1.252 MB / 358.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.1444, allocations: 15.84 kB / 358.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.1446, allocations: 55.98 kB / 358.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.1447, allocations: 32 kB / 358.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.1471, allocations: 0.689 MB / 359.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009798/0.1569, allocations: 6.82 MB / 366.2 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1581, allocations: 273.3 kB / 366.5 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.1583, allocations: 93.03 kB / 366.6 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1584, allocations: 38.56 kB / 366.6 MB, free: 2.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.1584, allocations: 0 / 366.6 MB, free: 2.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.003951/0.1623, allocations: 1.416 MB / 368 MB, free: 1.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1624, allocations: 81.11 kB / 368.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.1636, allocations: 0.5701 MB / 368.7 MB, free: 440 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.1637, allocations: 33.7 kB / 368.7 MB, free: 400 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006595/0.1643, allocations: 0.6979 MB / 369.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.1645, allocations: 122.4 kB / 369.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1646, allocations: 16 kB / 369.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1648, allocations: 334.8 kB / 369.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.1653, allocations: 153.9 kB / 370 MB, free: 15.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/0.1662, allocations: 0.5467 MB / 370.6 MB, free: 14.32 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1674, allocations: 445.8 kB / 371 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.1674, allocations: 4 kB / 371 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002125/0.1695, allocations: 0.7552 MB / 371.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.1696, allocations: 12.78 kB / 371.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.1697, allocations: 16 kB / 371.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.17, allocations: 85.67 kB / 371.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.1712, allocations: 183.7 kB / 372 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.1749, allocations: 2.99 MB / 375 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.1757, allocations: 35.98 kB / 375.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.1758, allocations: 44 kB / 375.1 MB, free: 9.438 MB / 314.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006361/0.1764, allocations: 269.5 kB / 375.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.1766, allocations: 79.02 kB / 375.4 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.1768, allocations: 74.41 kB / 375.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1768, allocations: 4 kB / 375.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.1769, allocations: 4 kB / 375.5 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1769, allocations: 0 / 375.5 MB, free: 9.004 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.18, allocations: 1.358 MB / 376.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.18, allocations: 3.984 kB / 376.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.1807, allocations: 67.86 kB / 377 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.181, allocations: 66.09 kB / 377 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.181, allocations: 4 kB / 377 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.1841, allocations: 2.787 MB / 379.8 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.1841, allocations: 12.14 kB / 379.8 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1857, allocations: 0.6782 MB / 380.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.186, allocations: 136.2 kB / 380.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1861, allocations: 8 kB / 380.6 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.1866, allocations: 27.92 kB / 380.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1867, allocations: 19.92 kB / 380.7 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.1867, allocations: 12.12 kB / 380.7 MB, free: 3.395 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008325/0.1876, allocations: 427 kB / 381.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1876, allocations: 0 / 381.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001266/0.1889, allocations: 160 kB / 381.3 MB, free: 2.828 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.1891, allocations: 115.5 kB / 381.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.191, allocations: 0.6638 MB / 382.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.1911, allocations: 0 / 382.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.1919, allocations: 365.9 kB / 382.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.1928, allocations: 87.11 kB / 382.5 MB, free: 1.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.1998, allocations: 2.324 MB / 384.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.2013, allocations: 1.058 MB / 385.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.2017, allocations: 63.41 kB / 385.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2017, allocations: 4 kB / 385.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of Templates: time 0.3798/0.5815, allocations: 18.44 MB / 404.4 MB, free: 50.19 MB / 330.7 MB