Running command: translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadModel(HanserModelica): time 2.157/2.157, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.086e-05, allocations: 0 / 279.5 MB, free: 13.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09365, allocations: 49.71 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4796, allocations: 82.05 MB / 411.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.4798, allocations: 64.84 kB / 411.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0395/0.5194, allocations: 10.04 MB / 421.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5194, allocations: 0 / 421.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.5194, allocations: 12 kB / 421.3 MB, free: 9.406 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001365/0.5208, allocations: 0.7041 MB / 422 MB, free: 8.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5209, allocations: 8.219 kB / 422.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.521, allocations: 59.25 kB / 422.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.5217, allocations: 362.8 kB / 422.5 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.5217, allocations: 37.81 kB / 422.5 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.5219, allocations: 48.94 kB / 422.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5229, allocations: 493.6 kB / 423 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.523, allocations: 0 / 423 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.523, allocations: 20.56 kB / 423.1 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5231, allocations: 16 kB / 423.1 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008903/0.524, allocations: 340.5 kB / 423.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.5276, allocations: 1.96 MB / 425.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006831/0.5284, allocations: 289.7 kB / 425.6 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.5289, allocations: 211.1 kB / 425.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.5289, allocations: 4.281 kB / 425.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.529, allocations: 33.84 kB / 425.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.144e-06/0.529, allocations: 4 kB / 425.9 MB, free: 5.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.004606/0.5336, allocations: 1.483 MB / 427.4 MB, free: 4.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5337, allocations: 55.84 kB / 427.4 MB, free: 4.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.5341, allocations: 264.8 kB / 427.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.5342, allocations: 33.52 kB / 427.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.5344, allocations: 262.4 kB / 428 MB, free: 3.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.5346, allocations: 160.5 kB / 428.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.5346, allocations: 11.69 kB / 428.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.5348, allocations: 350.1 kB / 428.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.5352, allocations: 146.8 kB / 428.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.5356, allocations: 204.2 kB / 428.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.536, allocations: 167.8 kB / 429 MB, free: 3.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.536, allocations: 4 kB / 429 MB, free: 3.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00126/0.5373, allocations: 0.5106 MB / 429.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5373, allocations: 8 kB / 429.5 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5373, allocations: 4 kB / 429.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.5378, allocations: 98.67 kB / 429.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.5384, allocations: 98.94 kB / 429.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.5424, allocations: 3.291 MB / 433 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.5429, allocations: 22.41 kB / 433 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.5429, allocations: 22.8 kB / 433 MB, free: 15.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.5431, allocations: 132.4 kB / 433.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.5432, allocations: 43.47 kB / 433.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.5434, allocations: 49.45 kB / 433.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.044e-06/0.5434, allocations: 4 kB / 433.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.644e-06/0.5434, allocations: 4 kB / 433.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-06/0.5434, allocations: 0 / 433.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.5458, allocations: 1.152 MB / 434.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.129e-06/0.5458, allocations: 4 kB / 434.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.5464, allocations: 91.62 kB / 434.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.5468, allocations: 95.36 kB / 434.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.5469, allocations: 10.19 kB / 434.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.5508, allocations: 3.282 MB / 437.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.5508, allocations: 4.031 kB / 437.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.5525, allocations: 0.7661 MB / 438.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.5528, allocations: 151.5 kB / 438.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.5529, allocations: 14.44 kB / 438.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.5533, allocations: 26.98 kB / 438.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5535, allocations: 36.19 kB / 438.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.5535, allocations: 11.88 kB / 438.9 MB, free: 10 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.5538, allocations: 205.1 kB / 439.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.5539, allocations: 4 kB / 439.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008726/0.5547, allocations: 125.6 kB / 439.2 MB, free: 9.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.converter1.i,transformer.converter1.Phi) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.555, allocations: 117.8 kB / 439.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.5563, allocations: 0.6207 MB / 440 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.381e-06/0.5564, allocations: 3.984 kB / 440 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.5573, allocations: 456.2 kB / 440.4 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.5578, allocations: 53.88 kB / 440.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.5599, allocations: 0.7396 MB / 441.2 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.5605, allocations: 0.8509 MB / 442.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.5608, allocations: 47.25 kB / 442.1 MB, free: 7.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.561, allocations: 30.62 kB / 442.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of SimCode: time 2.27e-06/0.561, allocations: 0 / 442.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of Templates: time 0.01393/0.5749, allocations: 4.468 MB / 446.6 MB, free: 2.629 MB / 362.7 MB