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_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.925e-05, allocations: 10.08 kB / 292.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08753, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.507, allocations: 104.4 MB / 447.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.5073, allocations: 70.47 kB / 447.6 MB, free: 5.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.656/1.163, allocations: 141 MB / 0.5748 GB, free: 100.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.116e-06/1.163, allocations: 7.938 kB / 0.5748 GB, free: 100.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001188/1.164, allocations: 45.34 kB / 0.5748 GB, free: 100.3 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.004052/1.168, allocations: 2.702 MB / 0.5775 GB, free: 98.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.168, allocations: 10.94 kB / 0.5775 GB, free: 98.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/1.168, allocations: 403.3 kB / 0.5779 GB, free: 98.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/1.172, allocations: 2.34 MB / 0.5802 GB, free: 97.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/1.172, allocations: 36.47 kB / 0.5802 GB, free: 97.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/1.172, allocations: 54.16 kB / 0.5803 GB, free: 97.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/1.174, allocations: 0.7922 MB / 0.581 GB, free: 96.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/1.174, allocations: 0 / 0.581 GB, free: 96.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.174, allocations: 23.48 kB / 0.581 GB, free: 96.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/1.174, allocations: 14.5 kB / 0.5811 GB, free: 96.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.175, allocations: 0.7116 MB / 0.5818 GB, free: 96.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/1.182, allocations: 3.176 MB / 0.5849 GB, free: 95.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/1.182, allocations: 481.8 kB / 0.5853 GB, free: 94.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008886/1.183, allocations: 0.5904 MB / 0.5859 GB, free: 94.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03544/1.219, allocations: 36.07 MB / 0.6211 GB, free: 62.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005648/1.219, allocations: 321.5 kB / 0.6214 GB, free: 62.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.843e-06/1.219, allocations: 3.938 kB / 0.6214 GB, free: 62.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001367/1.221, allocations: 0.797 MB / 0.6222 GB, free: 61.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/1.221, allocations: 269 kB / 0.6225 GB, free: 61.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/1.225, allocations: 2.507 MB / 0.6249 GB, free: 58.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.225, allocations: 37.7 kB / 0.6249 GB, free: 58.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.226, allocations: 1.485 MB / 0.6264 GB, free: 57.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/1.226, allocations: 177.5 kB / 0.6266 GB, free: 56.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/1.226, allocations: 16 kB / 0.6266 GB, free: 56.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.188e-05/1.226, allocations: 333.9 kB / 0.6269 GB, free: 56.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/1.227, allocations: 194 kB / 0.6271 GB, free: 56.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/1.227, allocations: 0.5913 MB / 0.6277 GB, free: 55.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/1.228, allocations: 280.8 kB / 0.6279 GB, free: 55.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.194e-06/1.228, allocations: 4 kB / 0.6279 GB, free: 55.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001902/1.23, allocations: 1.096 MB / 0.629 GB, free: 54.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.23, allocations: 12.19 kB / 0.629 GB, free: 54.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.23, allocations: 83.98 kB / 0.6291 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/1.23, allocations: 20 kB / 0.6291 GB, free: 54.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008767/1.231, allocations: 207.7 kB / 0.6293 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/1.231, allocations: 27.86 kB / 0.6293 GB, free: 53.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.233, allocations: 123 kB / 0.6295 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.233, allocations: 64 kB / 0.6295 GB, free: 53.61 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.0001959/1.233, allocations: 168.6 kB / 0.6297 GB, free: 53.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/1.233, allocations: 387.4 kB / 0.63 GB, free: 53.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/1.237, allocations: 1.147 MB / 0.6312 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.237, allocations: 4 kB / 0.6312 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-06/1.237, allocations: 0 / 0.6312 GB, free: 51.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.944e-06/1.237, allocations: 7.984 kB / 0.6312 GB, free: 51.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/1.24, allocations: 2.103 MB / 0.6332 GB, free: 49.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/1.241, allocations: 67.98 kB / 0.6333 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/1.241, allocations: 107.9 kB / 0.6334 GB, free: 49.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-06/1.241, allocations: 0 / 0.6334 GB, free: 49.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/1.241, allocations: 35.98 kB / 0.6334 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.241, allocations: 4 kB / 0.6334 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.314e-06/1.241, allocations: 3.953 kB / 0.6334 GB, free: 49.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/1.243, allocations: 1.216 MB / 0.6346 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009466/1.244, allocations: 0.5491 MB / 0.6352 GB, free: 47.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/1.245, allocations: 15.95 kB / 0.6352 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.246, allocations: 52.02 kB / 0.6352 GB, free: 47.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/1.246, allocations: 55.94 kB / 0.6353 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/1.246, allocations: 36 kB / 0.6353 GB, free: 47.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003096/1.249, allocations: 1.91 MB / 0.6372 GB, free: 45.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.48e-07/1.249, allocations: 0 / 0.6372 GB, free: 45.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001775/1.251, allocations: 0.6478 MB / 0.6378 GB, free: 44.97 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.001229/1.252, allocations: 0.8318 MB / 0.6386 GB, free: 44.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/1.253, allocations: 0.6922 MB / 0.6393 GB, free: 43.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.761e-06/1.253, allocations: 0.5 kB / 0.6393 GB, free: 43.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005805/1.254, allocations: 391.1 kB / 0.6397 GB, free: 43.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.257, allocations: 0.595 MB / 0.6403 GB, free: 42.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/1.262, allocations: 3.133 MB / 0.6433 GB, free: 39.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.263, allocations: 1.728 MB / 0.645 GB, free: 37.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001786/1.265, allocations: 382.4 kB / 0.6454 GB, free: 37.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/1.266, allocations: 159.4 kB / 0.6455 GB, free: 37.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.576e-06/1.266, allocations: 0 / 0.6455 GB, free: 37.13 MB / 442.7 MB Notification: Performance of Templates: time 0.07417/1.34, allocations: 32.46 MB / 0.6772 GB, free: 4.969 MB / 442.7 MB