Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.623e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5292, allocations: 81.74 MB / 424.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5295, allocations: 78.2 kB / 424.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02833/0.5579, allocations: 6.291 MB / 430.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5579, allocations: 0 / 430.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.5579, allocations: 15.98 kB / 430.8 MB, free: 6.641 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001442/0.5594, allocations: 0.5735 MB / 431.3 MB, free: 6.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5595, allocations: 12.03 kB / 431.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.5596, allocations: 60.16 kB / 431.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.825e-05/0.5597, allocations: 31.62 kB / 431.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.5602, allocations: 288 kB / 431.7 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.5602, allocations: 20.5 kB / 431.7 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.5603, allocations: 23.19 kB / 431.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.5609, allocations: 268.5 kB / 432 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.561, allocations: 0 / 432 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.561, allocations: 3.75 kB / 432 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.561, allocations: 11.98 kB / 432 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.5616, allocations: 172.4 kB / 432.2 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.5648, allocations: 1.219 MB / 433.4 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.5653, allocations: 138.5 kB / 433.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.5655, allocations: 61.17 kB / 433.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.5656, allocations: 11.89 kB / 433.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.5659, allocations: 124.3 kB / 433.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/0.5659, allocations: 3.938 kB / 433.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.000938/0.5668, allocations: 217.8 kB / 434 MB, free: 3.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.5669, allocations: 77.11 kB / 434.1 MB, free: 3.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.5673, allocations: 239.7 kB / 434.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.5673, allocations: 25.7 kB / 434.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.5675, allocations: 252.9 kB / 434.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.5676, allocations: 50.7 kB / 434.6 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.5676, allocations: 0 / 434.6 MB, free: 3.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5677, allocations: 321.7 kB / 434.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.5679, allocations: 63.72 kB / 435 MB, free: 2.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.5682, allocations: 143.9 kB / 435.1 MB, free: 2.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.5684, allocations: 89.34 kB / 435.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5685, allocations: 0 / 435.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001086/0.5696, allocations: 325.6 kB / 435.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.5696, allocations: 40.62 kB / 435.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5696, allocations: 4 kB / 435.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.5699, allocations: 31.3 kB / 435.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.5703, allocations: 63.27 kB / 435.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.5722, allocations: 1.38 MB / 437 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.5728, allocations: 51.69 kB / 437.1 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5728, allocations: 15.81 kB / 437.1 MB, free: 0.6914 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.573, allocations: 116.4 kB / 437.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.5731, allocations: 35.69 kB / 437.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.5731, allocations: 19.41 kB / 437.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.5732, allocations: 0 / 437.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5732, allocations: 4 kB / 437.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5732, allocations: 7.938 kB / 437.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.5736, allocations: 303.3 kB / 437.6 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5736, allocations: 0 / 437.6 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.574, allocations: 43.91 kB / 437.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.5741, allocations: 31.09 kB / 437.7 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.5742, allocations: 4 kB / 437.7 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.5758, allocations: 1.362 MB / 439 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5759, allocations: 96 / 439 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5769, allocations: 322.1 kB / 439.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5771, allocations: 107.5 kB / 439.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.5771, allocations: 0 / 439.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.5776, allocations: 39.27 kB / 439.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5777, allocations: 23.11 kB / 439.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.5777, allocations: 8.062 kB / 439.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002727/0.578, allocations: 187.1 kB / 439.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.578, allocations: 0 / 439.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.5786, allocations: 67.03 kB / 439.8 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.58, allocations: 0.8521 MB / 440.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007011/0.5807, allocations: 308.9 kB / 440.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5808, allocations: 0 / 440.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.581, allocations: 166.9 kB / 441.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.5815, allocations: 46.09 kB / 441.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.5843, allocations: 0.6022 MB / 441.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.5847, allocations: 0.7599 MB / 442.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.5849, allocations: 77.22 kB / 442.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5849, allocations: 0 / 442.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.471/3.056, allocations: 5.594 MB / 448.2 MB, free: 5.855 MB / 362.7 MB