Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 1.787/1.787, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.554e-05, allocations: 0 / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08128, allocations: 38.76 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003541/0.08487, allocations: 2.211 MB / 269.1 MB, free: 14.26 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.08641, allocations: 0.6315 MB / 269.7 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.08659, allocations: 12 kB / 269.8 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.08672, allocations: 47.66 kB / 269.8 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.08698, allocations: 87.7 kB / 269.9 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.08733, allocations: 83.91 kB / 270 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.08776, allocations: 232 kB / 270.2 MB, free: 13.17 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.08809, allocations: 129 kB / 270.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.08832, allocations: 111.8 kB / 270.4 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.08861, allocations: 151.5 kB / 270.6 MB, free: 12.78 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.08871, allocations: 16 kB / 270.6 MB, free: 12.76 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.08878, allocations: 19.94 kB / 270.6 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.08888, allocations: 67.7 kB / 270.7 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.08901, allocations: 40 kB / 270.7 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.08956, allocations: 375.1 kB / 271.1 MB, free: 12.27 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.08958, allocations: 0 / 271.1 MB, free: 12.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.08959, allocations: 0 / 271.1 MB, free: 12.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.08962, allocations: 0 / 271.1 MB, free: 12.27 MB / 234.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.001463/0.09109, allocations: 0.6085 MB / 271.7 MB, free: 11.61 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.09115, allocations: 8.031 kB / 271.7 MB, free: 11.61 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.09129, allocations: 43.53 kB / 271.7 MB, free: 11.56 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.09173, allocations: 270.5 kB / 272 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.0918, allocations: 32.98 kB / 272 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.09192, allocations: 44 kB / 272.1 MB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.09306, allocations: 447.2 kB / 272.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.09311, allocations: 4 kB / 272.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.09318, allocations: 16 kB / 272.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.09321, allocations: 8 kB / 272.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008612/0.09408, allocations: 287.8 kB / 272.8 MB, free: 10.4 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.09707, allocations: 1.322 MB / 274.2 MB, free: 8.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.09779, allocations: 250.8 kB / 274.4 MB, free: 8.734 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.09785, allocations: 7.938 kB / 274.4 MB, free: 8.727 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.09789, allocations: 42.55 kB / 274.4 MB, free: 8.676 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 3.106e-06/0.0979, allocations: 0 / 274.4 MB, free: 8.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.002279/0.1002, allocations: 0.5618 MB / 275 MB, free: 8.086 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.1004, allocations: 239.3 kB / 275.2 MB, free: 7.797 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1006, allocations: 186.2 kB / 275.4 MB, free: 7.609 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.1007, allocations: 29.7 kB / 275.5 MB, free: 7.574 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1009, allocations: 200.3 kB / 275.6 MB, free: 7.375 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.101, allocations: 102.4 kB / 275.7 MB, free: 7.273 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.101, allocations: 8 kB / 275.8 MB, free: 7.266 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1012, allocations: 334.8 kB / 276.1 MB, free: 6.93 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.1015, allocations: 79.97 kB / 276.2 MB, free: 6.852 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.1019, allocations: 163.4 kB / 276.3 MB, free: 6.664 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.1022, allocations: 103.7 kB / 276.4 MB, free: 6.562 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1022, allocations: 0 / 276.4 MB, free: 6.562 MB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007595/0.103, allocations: 285.4 kB / 276.7 MB, free: 6.277 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.103, allocations: 5.875 kB / 276.7 MB, free: 6.273 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.103, allocations: 0 / 276.7 MB, free: 6.273 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.1031, allocations: 4 kB / 276.7 MB, free: 6.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.1037, allocations: 91.83 kB / 276.8 MB, free: 6.18 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1037, allocations: 0 / 276.8 MB, free: 6.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.104, allocations: 27.75 kB / 276.8 MB, free: 6.152 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.1041, allocations: 8 kB / 276.8 MB, free: 6.145 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0002206/0.1043, allocations: 153.8 kB / 277 MB, free: 5.984 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.1044, allocations: 19.81 kB / 277 MB, free: 5.965 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.1045, allocations: 34.64 kB / 277 MB, free: 5.934 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1045, allocations: 4 kB / 277 MB, free: 5.93 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.1046, allocations: 7.953 kB / 277 MB, free: 5.922 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1046, allocations: 3.984 kB / 277.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.1052, allocations: 397.1 kB / 277.4 MB, free: 5.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1053, allocations: 0 / 277.4 MB, free: 5.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.1058, allocations: 55.91 kB / 277.5 MB, free: 5.426 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/0.1062, allocations: 96.67 kB / 277.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.1063, allocations: 4 kB / 277.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.1092, allocations: 1.863 MB / 279.5 MB, free: 3.324 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.1092, allocations: 3.953 kB / 279.5 MB, free: 3.32 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.1105, allocations: 0.5209 MB / 280 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1107, allocations: 120.8 kB / 280.1 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.1108, allocations: 8 kB / 280.1 MB, free: 2.633 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.111, allocations: 11.95 kB / 280.1 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.1111, allocations: 23.97 kB / 280.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.1112, allocations: 11.94 kB / 280.2 MB, free: 2.586 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.1114, allocations: 164.2 kB / 280.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1114, allocations: 0 / 280.3 MB, free: 2.426 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005233/0.1119, allocations: 107.6 kB / 280.4 MB, free: 2.32 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001619/0.1121, allocations: 103.2 kB / 280.5 MB, free: 2.211 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006464/0.1128, allocations: 227.8 kB / 280.7 MB, free: 1.988 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.1128, allocations: 8.062 kB / 280.8 MB, free: 1.98 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.1135, allocations: 278.5 kB / 281 MB, free: 1.695 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1137, allocations: 19.95 kB / 281 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.1158, allocations: 1.043 MB / 282.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1163, allocations: 0.7989 MB / 282.9 MB, free: 15.78 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1164, allocations: 25.94 kB / 282.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.1165, allocations: 19.44 kB / 282.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1166, allocations: 0 / 282.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of Templates: time 0.009397/0.126, allocations: 2.625 MB / 285.6 MB, free: 13.11 MB / 250.7 MB "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:C1.C,C1.IC,C1.UIC,C2.C,C2.IC,C2.UIC,L1.IC,L1.ICP.L,L1.L,L1.UIC,L1.iinternal,L2.IC,L2.ICP.L,L2.L,L2.UIC,L2.iinternal,L3.IC,L3.ICP.L,L3.L,L3.UIC,L3.iinternal,R1.R,R2.R,R3.R,R4.R,R5.R,k1.inductiveCouplePin1.L,k1.inductiveCouplePin2.L,k1.k,k2.inductiveCouplePin1.L,k2.inductiveCouplePin2.L,k2.k,k3.inductiveCouplePin1.L,k3.inductiveCouplePin2.L,k3.k,sineVoltage.FREQ,sineVoltage.TD,sineVoltage.THETA,sineVoltage.VA,sineVoltage.VO,time