Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.169/2.169, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.48e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5162/0.6258, allocations: 78.54 MB / 421.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.6261, allocations: 70.83 kB / 421.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02437/0.6505, allocations: 5.806 MB / 427 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.6505, allocations: 0 / 427 MB, free: 10.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.6506, allocations: 8 kB / 427 MB, free: 10.24 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001293/0.6519, allocations: 0.5846 MB / 427.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6519, allocations: 8.031 kB / 427.6 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.6521, allocations: 86.14 kB / 427.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.6522, allocations: 43.53 kB / 427.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.6526, allocations: 271.5 kB / 428 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.6527, allocations: 33.75 kB / 428.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6528, allocations: 48.52 kB / 428.1 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.6538, allocations: 428.6 kB / 428.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.6538, allocations: 3.938 kB / 428.5 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.6539, allocations: 14.5 kB / 428.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.6539, allocations: 12 kB / 428.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.6546, allocations: 263.1 kB / 428.8 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.6575, allocations: 1.323 MB / 430.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.6582, allocations: 235.6 kB / 430.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.6587, allocations: 186 kB / 430.5 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.6587, allocations: 4 kB / 430.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.6588, allocations: 45.88 kB / 430.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.036e-06/0.6588, allocations: 0 / 430.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008914/0.6597, allocations: 282.9 kB / 430.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6599, allocations: 235.3 kB / 431.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.6601, allocations: 188.9 kB / 431.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.6602, allocations: 36.52 kB / 431.3 MB, free: 6.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.6604, allocations: 251.4 kB / 431.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.6605, allocations: 103.8 kB / 431.7 MB, free: 6.176 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.6605, allocations: 7.438 kB / 431.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6606, allocations: 325.8 kB / 432 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.6609, allocations: 63.12 kB / 432.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.6612, allocations: 152.7 kB / 432.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.6614, allocations: 83.91 kB / 432.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6614, allocations: 0 / 432.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006076/0.662, allocations: 247.6 kB / 432.5 MB, free: 5.422 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6621, allocations: 8 kB / 432.5 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6621, allocations: 0 / 432.5 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.6621, allocations: 0 / 432.5 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.6628, allocations: 79.89 kB / 432.6 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.6628, allocations: 7.953 kB / 432.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.6632, allocations: 27 kB / 432.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.6632, allocations: 16 kB / 432.7 MB, free: 5.293 MB / 346.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 (38): * Single equations (assignments): 38 * 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.0001292/0.6633, allocations: 129.8 kB / 432.8 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/0.6634, allocations: 23.72 kB / 432.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.092e-05/0.6635, allocations: 32.14 kB / 432.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6635, allocations: 4 kB / 432.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.6636, allocations: 3.938 kB / 432.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6636, allocations: 7.938 kB / 432.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.6652, allocations: 0.7743 MB / 433.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6652, allocations: 0 / 433.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/0.6657, allocations: 47.97 kB / 433.7 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.6663, allocations: 90.08 kB / 433.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.6663, allocations: 3.812 kB / 433.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.6689, allocations: 1.815 MB / 435.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.669, allocations: 64 / 435.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.6701, allocations: 0.4971 MB / 436.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.6702, allocations: 100.8 kB / 436.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.6703, allocations: 11.62 kB / 436.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.6706, allocations: 11.92 kB / 436.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.6707, allocations: 23.97 kB / 436.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.6707, allocations: 7.25 kB / 436.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.6709, allocations: 153.6 kB / 436.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.265e-06/0.6709, allocations: 112 / 436.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005734/0.6715, allocations: 114.3 kB / 436.5 MB, free: 1.844 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/0.673, allocations: 1.109 MB / 437.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.6736, allocations: 210.5 kB / 437.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6736, allocations: 0 / 437.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.6742, allocations: 248.8 kB / 438.1 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.6746, allocations: 28.56 kB / 438.1 MB, free: 444 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.6767, allocations: 0.7802 MB / 438.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.6773, allocations: 0.7989 MB / 439.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.6775, allocations: 107.8 kB / 439.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6775, allocations: 0 / 439.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.275, allocations: 5.323 MB / 445.1 MB, free: 9.555 MB / 362.7 MB