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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.466e-05/5.485e-05, allocations: 4 kB / 292.1 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 50.41 MB / 342.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.5071, allocations: 104.4 MB / 447 MB, free: 6.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.5074, allocations: 74.39 kB / 447 MB, free: 5.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6889/1.196, allocations: 141 MB / 0.5743 GB, free: 100.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.115e-06/1.196, allocations: 0 / 0.5743 GB, free: 100.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000107/1.196, allocations: 45.44 kB / 0.5743 GB, free: 100.4 MB / 442.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.004246/1.201, allocations: 2.697 MB / 0.577 GB, free: 98.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.201, allocations: 11.69 kB / 0.577 GB, free: 98.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/1.201, allocations: 399.1 kB / 0.5774 GB, free: 98.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/1.206, allocations: 2.351 MB / 0.5797 GB, free: 97.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/1.206, allocations: 43.28 kB / 0.5797 GB, free: 97.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/1.206, allocations: 58.62 kB / 0.5797 GB, free: 97.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.207, allocations: 0.781 MB / 0.5805 GB, free: 97.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.207, allocations: 0 / 0.5805 GB, free: 97.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.208, allocations: 19.97 kB / 0.5805 GB, free: 97.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/1.208, allocations: 22.73 kB / 0.5806 GB, free: 97.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/1.209, allocations: 0.706 MB / 0.5812 GB, free: 96.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/1.216, allocations: 3.181 MB / 0.5843 GB, free: 95.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/1.217, allocations: 478.8 kB / 0.5848 GB, free: 95.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/1.217, allocations: 0.5919 MB / 0.5854 GB, free: 94.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03435/1.252, allocations: 36.07 MB / 0.6206 GB, free: 62.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/1.252, allocations: 324.5 kB / 0.6209 GB, free: 62.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 4.418e-06/1.252, allocations: 0 / 0.6209 GB, free: 62.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001681/1.254, allocations: 0.7929 MB / 0.6217 GB, free: 61.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/1.254, allocations: 273 kB / 0.622 GB, free: 61.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/1.258, allocations: 2.499 MB / 0.6244 GB, free: 58.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/1.258, allocations: 33.7 kB / 0.6244 GB, free: 58.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/1.259, allocations: 1.497 MB / 0.6259 GB, free: 57.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/1.26, allocations: 168.6 kB / 0.626 GB, free: 56.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/1.26, allocations: 16 kB / 0.6261 GB, free: 56.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/1.26, allocations: 341.9 kB / 0.6264 GB, free: 56.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/1.26, allocations: 194 kB / 0.6266 GB, free: 56.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/1.261, allocations: 0.5913 MB / 0.6272 GB, free: 55.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/1.261, allocations: 281.2 kB / 0.6274 GB, free: 55.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.86e-06/1.261, allocations: 4 kB / 0.6274 GB, free: 55.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001926/1.263, allocations: 1.087 MB / 0.6285 GB, free: 54.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.263, allocations: 13 kB / 0.6285 GB, free: 54.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.263, allocations: 83.98 kB / 0.6286 GB, free: 54.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/1.264, allocations: 24 kB / 0.6286 GB, free: 54.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/1.264, allocations: 203.7 kB / 0.6288 GB, free: 53.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/1.264, allocations: 27.86 kB / 0.6288 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.266, allocations: 127 kB / 0.6289 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/1.266, allocations: 63.98 kB / 0.629 GB, free: 53.64 MB / 442.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.0001945/1.266, allocations: 168.6 kB / 0.6292 GB, free: 53.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.267, allocations: 383.4 kB / 0.6295 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/1.27, allocations: 1.146 MB / 0.6307 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.755e-06/1.27, allocations: 4 kB / 0.6307 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.27, allocations: 0 / 0.6307 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.371e-06/1.27, allocations: 3.984 kB / 0.6307 GB, free: 51.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/1.274, allocations: 2.11 MB / 0.6327 GB, free: 49.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001048/1.274, allocations: 71.98 kB / 0.6328 GB, free: 49.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/1.275, allocations: 103.8 kB / 0.6329 GB, free: 49.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.892e-06/1.275, allocations: 7.953 kB / 0.6329 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/1.275, allocations: 32 kB / 0.6329 GB, free: 49.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.518e-06/1.275, allocations: 4 kB / 0.6329 GB, free: 49.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.055e-06/1.275, allocations: 3.953 kB / 0.6329 GB, free: 49.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.277, allocations: 1.216 MB / 0.6341 GB, free: 48.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/1.278, allocations: 0.5491 MB / 0.6347 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/1.278, allocations: 15.95 kB / 0.6347 GB, free: 47.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.279, allocations: 43.95 kB / 0.6347 GB, free: 47.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.279, allocations: 64 kB / 0.6348 GB, free: 47.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/1.279, allocations: 35.98 kB / 0.6348 GB, free: 47.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002928/1.282, allocations: 1.902 MB / 0.6367 GB, free: 45.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.19e-07/1.282, allocations: 0 / 0.6367 GB, free: 45.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001677/1.284, allocations: 0.6517 MB / 0.6373 GB, free: 45.01 MB / 442.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.001252/1.285, allocations: 0.8325 MB / 0.6381 GB, free: 44.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/1.287, allocations: 0.6875 MB / 0.6388 GB, free: 43.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.323e-06/1.287, allocations: 1.312 kB / 0.6388 GB, free: 43.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005832/1.287, allocations: 391.1 kB / 0.6392 GB, free: 43.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.29, allocations: 0.5974 MB / 0.6397 GB, free: 42.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/1.296, allocations: 3.137 MB / 0.6428 GB, free: 39.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/1.297, allocations: 1.724 MB / 0.6445 GB, free: 37.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001784/1.299, allocations: 386.3 kB / 0.6449 GB, free: 37.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.299, allocations: 159.4 kB / 0.645 GB, free: 37.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.698e-06/1.299, allocations: 0 / 0.645 GB, free: 37.17 MB / 442.7 MB Notification: Performance of Templates: time 0.07297/1.372, allocations: 32.47 MB / 0.6767 GB, free: 5.008 MB / 442.7 MB