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_cpp_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.746/1.746, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.508e-05, allocations: 2.25 kB / 255.3 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07563/0.07568, allocations: 44.5 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4492, allocations: 97.76 MB / 397.6 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4495, allocations: 71.55 kB / 397.7 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5925/1.042, allocations: 125.3 MB / 0.5107 GB, free: 67.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/1.042, allocations: 1.969 kB / 0.5107 GB, free: 67.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.19e-05/1.042, allocations: 45.25 kB / 0.5108 GB, free: 67.41 MB / 394.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.005068/1.047, allocations: 2.71 MB / 0.5134 GB, free: 66.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.047, allocations: 11.28 kB / 0.5134 GB, free: 66.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/1.048, allocations: 400.2 kB / 0.5138 GB, free: 66.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/1.053, allocations: 2.365 MB / 0.5161 GB, free: 65.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/1.053, allocations: 40.61 kB / 0.5162 GB, free: 65.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.053, allocations: 57.69 kB / 0.5162 GB, free: 65.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.055, allocations: 0.7852 MB / 0.517 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/1.055, allocations: 0 / 0.517 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.055, allocations: 20.72 kB / 0.517 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/1.055, allocations: 22.47 kB / 0.517 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/1.057, allocations: 0.7176 MB / 0.5177 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007703/1.064, allocations: 3.183 MB / 0.5208 GB, free: 64.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/1.065, allocations: 494.1 kB / 0.5213 GB, free: 64.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009496/1.066, allocations: 0.5924 MB / 0.5219 GB, free: 64.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03595/1.102, allocations: 36.17 MB / 0.5572 GB, free: 38.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006005/1.103, allocations: 320.3 kB / 0.5575 GB, free: 38.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 3.834e-06/1.103, allocations: 2.625 kB / 0.5575 GB, free: 38.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.001574/1.104, allocations: 0.8004 MB / 0.5583 GB, free: 38.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/1.105, allocations: 271.5 kB / 0.5586 GB, free: 37.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/1.109, allocations: 2.516 MB / 0.561 GB, free: 37.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.109, allocations: 40.41 kB / 0.5611 GB, free: 37.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.11, allocations: 1.235 MB / 0.5623 GB, free: 37.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.11, allocations: 169 kB / 0.5624 GB, free: 36.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/1.11, allocations: 17.38 kB / 0.5624 GB, free: 36.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/1.11, allocations: 343.8 kB / 0.5628 GB, free: 36.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/1.111, allocations: 196.1 kB / 0.5629 GB, free: 36.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/1.111, allocations: 0.5959 MB / 0.5635 GB, free: 36.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/1.112, allocations: 283.5 kB / 0.5638 GB, free: 36.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.97e-06/1.112, allocations: 3.781 kB / 0.5638 GB, free: 36.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001672/1.114, allocations: 0.8128 MB / 0.5646 GB, free: 36.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.114, allocations: 14.33 kB / 0.5646 GB, free: 36.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.114, allocations: 81.31 kB / 0.5647 GB, free: 36.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/1.114, allocations: 18.41 kB / 0.5647 GB, free: 36.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/1.115, allocations: 212.9 kB / 0.5649 GB, free: 36.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/1.115, allocations: 29.53 kB / 0.5649 GB, free: 36.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.117, allocations: 121.8 kB / 0.5651 GB, free: 36.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.117, allocations: 68.84 kB / 0.5651 GB, free: 36.04 MB / 394.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.0002157/1.117, allocations: 165.3 kB / 0.5653 GB, free: 35.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/1.118, allocations: 388.2 kB / 0.5656 GB, free: 35.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/1.121, allocations: 1.153 MB / 0.5668 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.121, allocations: 3.531 kB / 0.5668 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-06/1.121, allocations: 3.219 kB / 0.5668 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-06/1.121, allocations: 3.844 kB / 0.5668 GB, free: 35.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/1.126, allocations: 2.113 MB / 0.5688 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001153/1.126, allocations: 70.58 kB / 0.5689 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/1.127, allocations: 104.7 kB / 0.569 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.127, allocations: 10.03 kB / 0.569 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/1.127, allocations: 31.59 kB / 0.5691 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.308e-06/1.127, allocations: 3.094 kB / 0.5691 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.179e-06/1.127, allocations: 2.844 kB / 0.5691 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/1.129, allocations: 1.219 MB / 0.5703 GB, free: 34.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.13, allocations: 0.5541 MB / 0.5708 GB, free: 34.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/1.13, allocations: 12.69 kB / 0.5708 GB, free: 34.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.132, allocations: 44.81 kB / 0.5708 GB, free: 34.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.132, allocations: 63.81 kB / 0.5709 GB, free: 34.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.342e-05/1.132, allocations: 40.47 kB / 0.5709 GB, free: 34.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00331/1.135, allocations: 1.919 MB / 0.5728 GB, free: 34.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.135, allocations: 0 / 0.5728 GB, free: 34.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002251/1.137, allocations: 0.6502 MB / 0.5735 GB, free: 34.14 MB / 394.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.001282/1.139, allocations: 0.8558 MB / 0.5743 GB, free: 33.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/1.14, allocations: 0.7094 MB / 0.575 GB, free: 33.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.798e-06/1.14, allocations: 0 / 0.575 GB, free: 33.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/1.141, allocations: 394.8 kB / 0.5754 GB, free: 33.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.143, allocations: 0.4942 MB / 0.5758 GB, free: 33.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/1.149, allocations: 3.207 MB / 0.579 GB, free: 32.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.15, allocations: 1.731 MB / 0.5807 GB, free: 31.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/1.151, allocations: 167.2 kB / 0.5808 GB, free: 31.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.729e-06/1.151, allocations: 0 / 0.5808 GB, free: 31.93 MB / 394.7 MB Notification: Performance of Templates: time 0.05543/1.206, allocations: 36.97 MB / 0.6169 GB, free: 16.91 MB / 394.7 MB