Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica_Synchronous): time 2.412/2.412, allocations: 218.4 MB / 234.2 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.847e-05, allocations: 4.297 kB / 287.6 MB, free: 8.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 50.38 MB / 338 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.002416/0.1188, allocations: 1.266 MB / 339.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.12, allocations: 472.1 kB / 339.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.1201, allocations: 0 / 339.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.1201, allocations: 3.938 kB / 339.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1203, allocations: 11.97 kB / 339.7 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1206, allocations: 27.91 kB / 339.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.96e-05/0.1207, allocations: 23.97 kB / 339.8 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.1208, allocations: 15.92 kB / 339.8 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.1209, allocations: 23.91 kB / 339.8 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.121, allocations: 7.938 kB / 339.8 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.121, allocations: 4 kB / 339.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.121, allocations: 0 / 339.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.1211, allocations: 15.92 kB / 339.8 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1211, allocations: 4 kB / 339.8 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.664e-05/0.1212, allocations: 27.95 kB / 339.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1212, allocations: 0 / 339.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1212, allocations: 4 kB / 339.9 MB, free: 8.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1213, allocations: 0 / 339.9 MB, free: 8.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005348/0.1218, allocations: 355.5 kB / 340.2 MB, free: 8.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1219, allocations: 8.031 kB / 340.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.1219, allocations: 7.906 kB / 340.2 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1222, allocations: 190.8 kB / 340.4 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1222, allocations: 4 kB / 340.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1223, allocations: 4 kB / 340.4 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.1226, allocations: 120.9 kB / 340.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1227, allocations: 0 / 340.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1227, allocations: 3.984 kB / 340.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1227, allocations: 4 kB / 340.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1228, allocations: 19.98 kB / 340.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.1233, allocations: 273.6 kB / 340.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1236, allocations: 142.2 kB / 341 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1236, allocations: 0 / 341 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1237, allocations: 42.56 kB / 341 MB, free: 7.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.366e-06/0.1237, allocations: 3.984 kB / 341 MB, free: 7.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003825/0.1241, allocations: 89.59 kB / 341.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.1242, allocations: 81.11 kB / 341.2 MB, free: 7.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1243, allocations: 127 kB / 341.3 MB, free: 6.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1244, allocations: 25.7 kB / 341.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.1245, allocations: 154.6 kB / 341.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1245, allocations: 0 / 341.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1245, allocations: 0 / 341.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1247, allocations: 322.8 kB / 341.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.1248, allocations: 11.98 kB / 341.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.517e-05/0.1249, allocations: 39.42 kB / 341.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.125, allocations: 8 kB / 341.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.125, allocations: 0 / 341.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000227/0.1252, allocations: 85.45 kB / 342 MB, free: 6.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1253, allocations: 4 kB / 342 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1253, allocations: 0 / 342 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1253, allocations: 4 kB / 342 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1254, allocations: 8 kB / 342 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1254, allocations: 0 / 342 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.1255, allocations: 7.984 kB / 342 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1255, allocations: 8.125 kB / 342 MB, free: 6.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1257, allocations: 125.7 kB / 342.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.1258, allocations: 49.59 kB / 342.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1258, allocations: 8.25 kB / 342.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1258, allocations: 4 kB / 342.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1259, allocations: 0 / 342.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1259, allocations: 0 / 342.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.1261, allocations: 173.6 kB / 342.3 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1261, allocations: 8 kB / 342.3 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.1262, allocations: 12 kB / 342.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1262, allocations: 0 / 342.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.1263, allocations: 0 / 342.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1263, allocations: 0 / 342.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.1263, allocations: 15.86 kB / 342.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.1266, allocations: 189.9 kB / 342.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.1267, allocations: 93.09 kB / 342.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1267, allocations: 0 / 342.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.1268, allocations: 4 kB / 342.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1269, allocations: 0 / 342.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1269, allocations: 0 / 342.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.127, allocations: 114.3 kB / 342.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.127, allocations: 0 / 342.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.1273, allocations: 8 kB / 342.8 MB, free: 5.383 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.1274, allocations: 95.25 kB / 342.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.1277, allocations: 39.92 kB / 342.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1277, allocations: 0 / 342.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.1278, allocations: 11.98 kB / 342.9 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1281, allocations: 36.73 kB / 342.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.1286, allocations: 207.1 kB / 343.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.129, allocations: 0.7004 MB / 343.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.129, allocations: 11.44 kB / 343.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.129, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of Templates: time 0.002818/0.1319, allocations: 0.718 MB / 344.6 MB, free: 3.496 MB / 282.7 MB