Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 1.939/1.939, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.189e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08423, allocations: 50.37 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5226, allocations: 82.06 MB / 416.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5229, allocations: 81.88 kB / 416.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02602/0.549, allocations: 6.418 MB / 423.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.549, allocations: 0 / 423.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.549, allocations: 4 kB / 423.2 MB, free: 6.777 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.0006974/0.5497, allocations: 0.4995 MB / 423.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5498, allocations: 8.031 kB / 423.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.5499, allocations: 23.72 kB / 423.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.5504, allocations: 285.1 kB / 424 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.5505, allocations: 7.953 kB / 424.1 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.5505, allocations: 7.938 kB / 424.1 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.5509, allocations: 158.9 kB / 424.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.935e-06/0.5509, allocations: 0 / 424.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5509, allocations: 0 / 424.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-06/0.5509, allocations: 4 kB / 424.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.551, allocations: 31.61 kB / 424.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.5517, allocations: 407.6 kB / 424.6 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.552, allocations: 107.2 kB / 424.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.5521, allocations: 46.38 kB / 424.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.5521, allocations: 7.688 kB / 424.8 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.5523, allocations: 74.7 kB / 424.9 MB, free: 5.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 6.394e-06/0.5523, allocations: 0 / 424.9 MB, free: 5.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003396/0.5527, allocations: 127.7 kB / 425 MB, free: 4.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.5528, allocations: 166.2 kB / 425.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.5533, allocations: 294.4 kB / 425.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.5533, allocations: 33.02 kB / 425.5 MB, free: 4.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.5534, allocations: 179.7 kB / 425.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.5535, allocations: 18.81 kB / 425.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-06/0.5535, allocations: 0 / 425.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5537, allocations: 322.3 kB / 426 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.5537, allocations: 28.69 kB / 426 MB, free: 3.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.5539, allocations: 91.28 kB / 426.1 MB, free: 3.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.554, allocations: 33.86 kB / 426.1 MB, free: 3.852 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.165e-06/0.554, allocations: 4 kB / 426.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002407/0.5543, allocations: 99.33 kB / 426.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5543, allocations: 8 kB / 426.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.476e-06/0.5543, allocations: 0 / 426.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5543, allocations: 4 kB / 426.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.5545, allocations: 15.98 kB / 426.3 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.5545, allocations: 11.92 kB / 426.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.5546, allocations: 11.5 kB / 426.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.5547, allocations: 4 kB / 426.3 MB, free: 3.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001161/0.5548, allocations: 116.2 kB / 426.4 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5549, allocations: 68.91 kB / 426.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.5552, allocations: 116.8 kB / 426.6 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-06/0.5553, allocations: 4.047 kB / 426.6 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-06/0.5553, allocations: 3.984 kB / 426.6 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-06/0.5553, allocations: 8.047 kB / 426.6 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.5556, allocations: 249.8 kB / 426.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-06/0.5556, allocations: 4 kB / 426.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.5557, allocations: 11.98 kB / 426.9 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.5557, allocations: 4 kB / 426.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5558, allocations: 0 / 426.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5558, allocations: 7.938 kB / 426.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.717e-06/0.5558, allocations: 3.938 kB / 426.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.5561, allocations: 190.7 kB / 427.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.5563, allocations: 128.2 kB / 427.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.5564, allocations: 8.062 kB / 427.2 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5565, allocations: 8 kB / 427.2 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.5565, allocations: 11.36 kB / 427.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5566, allocations: 4 kB / 427.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003321/0.5569, allocations: 244.1 kB / 427.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5569, allocations: 0 / 427.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003848/0.5573, allocations: 50.83 kB / 427.5 MB, free: 2.527 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001407/0.5588, allocations: 404 kB / 427.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.559, allocations: 81.78 kB / 428 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.1e-06/0.5591, allocations: 3.938 kB / 428 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.5592, allocations: 42.59 kB / 428 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.5595, allocations: 55.06 kB / 428.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.5602, allocations: 308.3 kB / 428.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.5607, allocations: 0.7596 MB / 429.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.5608, allocations: 19.44 kB / 429.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of SimCode: time 1.291e-06/0.5608, allocations: 0 / 429.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of Templates: time 0.006249/0.567, allocations: 2.909 MB / 432.1 MB, free: 14.07 MB / 362.7 MB