Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.211e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 50.41 MB / 345 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003135/0.1192, allocations: 1.717 MB / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1204, allocations: 459.1 kB / 347.1 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.1205, allocations: 4 kB / 347.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.574e-05/0.1205, allocations: 11.86 kB / 347.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1207, allocations: 47.88 kB / 347.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.1209, allocations: 27.91 kB / 347.2 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1211, allocations: 79.81 kB / 347.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1213, allocations: 39.91 kB / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1214, allocations: 47.89 kB / 347.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1216, allocations: 43.84 kB / 347.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.581e-05/0.1217, allocations: 15.92 kB / 347.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1217, allocations: 4 kB / 347.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.1217, allocations: 23.86 kB / 347.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1218, allocations: 12 kB / 347.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.122, allocations: 115.9 kB / 347.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.122, allocations: 0 / 347.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.122, allocations: 0 / 347.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.1221, allocations: 4 kB / 347.6 MB, free: 6.324 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007288/0.1228, allocations: 411.2 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1229, allocations: 8.031 kB / 348 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.123, allocations: 23.75 kB / 348 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1233, allocations: 206.8 kB / 348.2 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1234, allocations: 4.234 kB / 348.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1234, allocations: 12 kB / 348.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.1238, allocations: 124.2 kB / 348.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1238, allocations: 4 kB / 348.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1238, allocations: 4 kB / 348.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1239, allocations: 7.953 kB / 348.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.1242, allocations: 80.66 kB / 348.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.1254, allocations: 0.6095 MB / 349.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.1258, allocations: 86.62 kB / 349.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1259, allocations: 0 / 349.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1259, allocations: 38.69 kB / 349.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1259, allocations: 0 / 349.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.00109/0.127, allocations: 267.3 kB / 349.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1271, allocations: 51.41 kB / 349.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1273, allocations: 131.5 kB / 349.6 MB, free: 4.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1273, allocations: 29.7 kB / 349.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1275, allocations: 186.5 kB / 349.8 MB, free: 3.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1275, allocations: 27.58 kB / 349.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1275, allocations: 0 / 349.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1277, allocations: 326.8 kB / 350.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1278, allocations: 19.98 kB / 350.2 MB, free: 3.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.128, allocations: 46.56 kB / 350.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1281, allocations: 31.98 kB / 350.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1281, allocations: 0 / 350.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004764/0.1286, allocations: 142.4 kB / 350.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1287, allocations: 4 kB / 350.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1287, allocations: 192 / 350.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.1289, allocations: 36.83 kB / 350.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.1291, allocations: 11.94 kB / 350.5 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.1312, allocations: 1.522 MB / 352 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1314, allocations: 20.05 kB / 352 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1314, allocations: 4 kB / 352 MB, free: 1.484 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.1316, allocations: 121.8 kB / 352.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.1317, allocations: 15.8 kB / 352.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.1317, allocations: 8.719 kB / 352.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1317, allocations: 7.938 kB / 352.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1317, allocations: 0 / 352.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1318, allocations: 3.984 kB / 352.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.1321, allocations: 213.5 kB / 352.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1321, allocations: 4 kB / 352.4 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.1322, allocations: 4 kB / 352.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.1324, allocations: 36.83 kB / 352.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1324, allocations: 7.953 kB / 352.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.1343, allocations: 1.503 MB / 353.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1344, allocations: 128 / 353.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.1349, allocations: 232.2 kB / 354.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.1349, allocations: 81.02 kB / 354.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.135, allocations: 0 / 354.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1352, allocations: 15.98 kB / 354.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.1352, allocations: 4 kB / 354.3 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1353, allocations: 3.953 kB / 354.3 MB, free: 15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.1354, allocations: 115.2 kB / 354.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1354, allocations: 0 / 354.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004771/0.1359, allocations: 39.84 kB / 354.4 MB, free: 14.85 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.1361, allocations: 109 kB / 354.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.1366, allocations: 190.7 kB / 354.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1367, allocations: 0 / 354.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.137, allocations: 158.5 kB / 354.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1373, allocations: 11.94 kB / 354.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.1381, allocations: 382.8 kB / 355.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1385, allocations: 0.7121 MB / 356 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.1385, allocations: 11.44 kB / 356 MB, free: 13.21 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1385, allocations: 0 / 356 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Templates: time 0.005001/0.1436, allocations: 1.844 MB / 357.8 MB, free: 11.36 MB / 298.7 MB