Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.692e-05, allocations: 4 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2905, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01547/0.306, allocations: 10.91 MB / 314.2 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.3347, allocations: 16.17 MB / 330.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.3374, allocations: 35.81 kB / 330.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.3407, allocations: 0.8117 MB / 331.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00745/0.3482, allocations: 1.775 MB / 333 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004078/0.3524, allocations: 0.9694 MB / 334 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.368, allocations: 5.507 MB / 339.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/0.3687, allocations: 126.7 kB / 339.6 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.3704, allocations: 0.697 MB / 340.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.3724, allocations: 0.8709 MB / 341.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.3779, allocations: 1.206 MB / 342.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006955/0.3786, allocations: 72 kB / 342.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.3791, allocations: 265.9 kB / 342.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.3801, allocations: 264 kB / 343 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.3851, allocations: 2.62 MB / 345.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3852, allocations: 0 / 345.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3852, allocations: 0 / 345.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001255/0.3854, allocations: 4 kB / 345.6 MB, free: 3.211 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005647/0.391, allocations: 2.564 MB / 348.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3911, allocations: 8.031 kB / 348.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.3919, allocations: 407.1 kB / 348.6 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/0.3977, allocations: 2.27 MB / 350.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.3978, allocations: 37 kB / 350.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.398, allocations: 51.91 kB / 350.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.4003, allocations: 0.746 MB / 351.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.4003, allocations: 0 / 351.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4005, allocations: 20 kB / 351.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.4005, allocations: 23.97 kB / 351.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.4032, allocations: 0.8631 MB / 352.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008056/0.4113, allocations: 3.071 MB / 355.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.4135, allocations: 0.6103 MB / 356.3 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04397/0.4575, allocations: 30.35 MB / 386.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.4588, allocations: 389.4 kB / 387 MB, free: 5.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.546e-06/0.4588, allocations: 0 / 387 MB, free: 5.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.004146/0.463, allocations: 1.462 MB / 388.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4631, allocations: 55.41 kB / 388.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004707/0.4678, allocations: 2.466 MB / 391 MB, free: 1.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.4679, allocations: 37.7 kB / 391 MB, free: 1.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001854/0.4698, allocations: 1.494 MB / 392.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.47, allocations: 169.6 kB / 392.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.4701, allocations: 16 kB / 392.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4703, allocations: 341.9 kB / 393 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.4713, allocations: 257.9 kB / 393.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4726, allocations: 0.6177 MB / 393.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.4738, allocations: 340.5 kB / 394.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.4738, allocations: 4 kB / 394.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003593/0.4774, allocations: 1.26 MB / 395.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.4775, allocations: 15.95 kB / 395.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/0.4777, allocations: 83.92 kB / 395.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/0.4778, allocations: 20.75 kB / 395.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.4791, allocations: 211.7 kB / 395.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.72e-05/0.4792, allocations: 27.88 kB / 395.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4808, allocations: 127 kB / 396 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.481, allocations: 64 kB / 396 MB, free: 12.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001079/0.4821, allocations: 432.6 kB / 396.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/0.4826, allocations: 383.3 kB / 396.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.4875, allocations: 1.275 MB / 398.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4875, allocations: 4 kB / 398.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4876, allocations: 4 kB / 398.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.4876, allocations: 7.984 kB / 398.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.4926, allocations: 2.132 MB / 400.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001495/0.4928, allocations: 67.98 kB / 400.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.4936, allocations: 103.9 kB / 400.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.4937, allocations: 8.062 kB / 400.4 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/0.4938, allocations: 35.98 kB / 400.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4938, allocations: 0 / 400.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4938, allocations: 4 kB / 400.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.4976, allocations: 1.413 MB / 401.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.4986, allocations: 472.2 kB / 402.3 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/0.4992, allocations: 12.06 kB / 402.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.5005, allocations: 43.95 kB / 402.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.5007, allocations: 55.94 kB / 402.4 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.5008, allocations: 39.98 kB / 402.5 MB, free: 5.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003749/0.5046, allocations: 1.884 MB / 404.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5046, allocations: 0 / 404.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001924/0.5065, allocations: 0.5894 MB / 404.9 MB, free: 3.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * 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.001525/0.5081, allocations: 0.7377 MB / 405.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002684/0.5108, allocations: 0.8568 MB / 406.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5108, allocations: 3.938 kB / 406.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.5121, allocations: 463.2 kB / 407 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.5146, allocations: 486.5 kB / 407.5 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/0.5241, allocations: 4.91 MB / 412.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.5257, allocations: 1.731 MB / 414.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002046/0.5278, allocations: 353.2 kB / 414.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.5282, allocations: 151.4 kB / 414.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5282, allocations: 0 / 414.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of Templates: time 0.3173/0.8455, allocations: 29.41 MB / 444 MB, free: 98.47 MB / 362.7 MB