Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.169e-05/5.171e-05, allocations: 6.484 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 50.41 MB / 343.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5658, allocations: 78.48 MB / 421.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5662, allocations: 70.95 kB / 421.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02743/0.5936, allocations: 5.805 MB / 427.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5937, allocations: 0 / 427.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.937e-05/0.5937, allocations: 8 kB / 427.5 MB, free: 10.39 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.001496/0.5952, allocations: 0.5859 MB / 428.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.5953, allocations: 12.03 kB / 428.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.5955, allocations: 76.53 kB / 428.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.5956, allocations: 47.52 kB / 428.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.5961, allocations: 278.9 kB / 428.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.5962, allocations: 32.44 kB / 428.5 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.5963, allocations: 51.33 kB / 428.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.5974, allocations: 419.2 kB / 429 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.5974, allocations: 3.984 kB / 429 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.5975, allocations: 19.75 kB / 429 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5975, allocations: 8 kB / 429 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.5983, allocations: 256.4 kB / 429.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.6017, allocations: 1.337 MB / 430.6 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.6025, allocations: 230.1 kB / 430.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.6031, allocations: 184.6 kB / 431 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.6031, allocations: 0 / 431 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.6032, allocations: 45.75 kB / 431.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.6032, allocations: 0 / 431.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001014/0.6042, allocations: 283.8 kB / 431.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.6044, allocations: 235.3 kB / 431.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.6047, allocations: 185.6 kB / 431.7 MB, free: 6.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.6048, allocations: 33.58 kB / 431.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.605, allocations: 200.3 kB / 432 MB, free: 6.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.6052, allocations: 104.4 kB / 432.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.6052, allocations: 7 kB / 432.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.6054, allocations: 337.3 kB / 432.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.6056, allocations: 68.88 kB / 432.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.6059, allocations: 144 kB / 432.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6062, allocations: 79.03 kB / 432.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6062, allocations: 0 / 432.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006981/0.6069, allocations: 260 kB / 433 MB, free: 5.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.607, allocations: 8.062 kB / 433 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.607, allocations: 3.938 kB / 433 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.607, allocations: 4 kB / 433 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.6077, allocations: 79.89 kB / 433 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.6077, allocations: 3.953 kB / 433 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.6081, allocations: 33.8 kB / 433.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.6081, allocations: 15.56 kB / 433.1 MB, free: 5.48 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.0001515/0.6083, allocations: 121 kB / 433.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/0.6084, allocations: 35.16 kB / 433.2 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.6085, allocations: 32.77 kB / 433.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6085, allocations: 4 kB / 433.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/0.6086, allocations: 4 kB / 433.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.6086, allocations: 3.953 kB / 433.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.6103, allocations: 0.7559 MB / 434 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.6104, allocations: 0 / 434 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.6109, allocations: 59.98 kB / 434.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005461/0.6115, allocations: 90.89 kB / 434.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.6116, allocations: 7.188 kB / 434.2 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/0.6145, allocations: 1.818 MB / 436 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6145, allocations: 0 / 436 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.6158, allocations: 0.4955 MB / 436.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.616, allocations: 104.8 kB / 436.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.616, allocations: 10.44 kB / 436.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.6164, allocations: 11.31 kB / 436.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.6165, allocations: 23.33 kB / 436.7 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.6165, allocations: 10.88 kB / 436.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.6167, allocations: 145.1 kB / 436.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.414e-06/0.6167, allocations: 4.109 kB / 436.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006135/0.6174, allocations: 109.6 kB / 436.9 MB, free: 2.035 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.001686/0.6191, allocations: 1.11 MB / 438 MB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.6197, allocations: 202.4 kB / 438.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6198, allocations: 0 / 438.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.6204, allocations: 242.5 kB / 438.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.6209, allocations: 34.55 kB / 438.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.6231, allocations: 0.7634 MB / 439.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.6237, allocations: 0.795 MB / 440.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.6239, allocations: 30.06 kB / 440.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.6241, allocations: 102.6 kB / 440.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of SimCode: time 1.714e-06/0.6241, allocations: 0 / 440.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.6602, allocations: 5.282 MB / 445.5 MB, free: 9.828 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003993/0.6607, allocations: 184.2 kB / 445.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.27, allocations: 0 / 445.7 MB, free: 9.598 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat