Notification: Performance of loadModel(Modelica): time 1.498/1.498, allocations: 194.5 MB / 200.4 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2152/1.713, allocations: 46.34 MB / 246.8 MB, free: 4.969 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0626/1.776, allocations: 44.37 MB / 291.1 MB, free: 9.57 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/2.084, allocations: 150.5 MB / 441.6 MB, free: 2.262 MB / 344.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/2.084, allocations: 100.1 kB / 441.7 MB, free: 2.207 MB / 344.6 MB [Modelica 3.2.2/Magnetic/QuasiStatic/FundamentalWave.mo:3207:16-3207:26:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of Generate backend data structure: time 1.724/3.808, allocations: 395.2 MB / 0.8173 GB, free: 7.773 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/3.808, allocations: 9.938 kB / 0.8173 GB, free: 7.773 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04854/3.857, allocations: 4.948 MB / 0.8221 GB, free: 7.062 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0302/3.887, allocations: 9.654 MB / 0.8316 GB, free: 5.844 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008611/3.888, allocations: 403.5 kB / 0.832 GB, free: 5.844 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004804/3.893, allocations: 0.6929 MB / 0.8326 GB, free: 5.836 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03897/3.932, allocations: 15.45 MB / 0.8477 GB, free: 5.781 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05056/3.983, allocations: 17.72 MB / 0.865 GB, free: 4.344 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005316/3.983, allocations: 21.06 kB / 0.865 GB, free: 4.336 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003903/3.987, allocations: 10.84 kB / 0.8651 GB, free: 4.336 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008718/3.988, allocations: 0.7956 MB / 0.8658 GB, free: 4.309 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1365/4.125, allocations: 63.07 MB / 0.9274 GB, free: 10.19 MB / 440.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/4.137, allocations: 6.483 MB / 0.9338 GB, free: 4.359 MB / 440.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01653/4.154, allocations: 7.576 MB / 0.9412 GB, free: 13.57 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4178/4.572, allocations: 25.09 MB / 0.9657 GB, free: 77.88 MB / 456.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/4.572, allocations: 113.4 kB / 0.9658 GB, free: 77.83 MB / 456.7 MB Notification: Performance of pre-optimization done (n=820): time 1.837e-05/4.572, allocations: 0 / 0.9658 GB, free: 77.83 MB / 456.7 MB Notification: Performance of matching and sorting (n=830): time 0.07713/4.649, allocations: 28.31 MB / 0.9934 GB, free: 74.76 MB / 456.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/4.65, allocations: 151.5 kB / 0.9936 GB, free: 74.66 MB / 456.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007833/4.658, allocations: 3.314 MB / 0.9968 GB, free: 74.35 MB / 456.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001413/4.659, allocations: 29.08 kB / 0.9968 GB, free: 74.32 MB / 456.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/4.661, allocations: 3.82 MB / 1.001 GB, free: 71.95 MB / 456.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003337/4.664, allocations: 2.65 MB / 1.003 GB, free: 70.17 MB / 456.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001475/4.666, allocations: 0 / 1.003 GB, free: 70.17 MB / 456.7 MB Notification: Performance of setup shared object (initialization): time 0.0008855/4.667, allocations: 0.6572 MB / 1.004 GB, free: 69.84 MB / 456.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01079/4.678, allocations: 5.212 MB / 1.009 GB, free: 69.82 MB / 456.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/4.69, allocations: 7.06 MB / 1.016 GB, free: 67.84 MB / 456.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/4.707, allocations: 6.648 MB / 1.022 GB, free: 67.73 MB / 456.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.828e-05/4.707, allocations: 14.69 kB / 1.022 GB, free: 67.73 MB / 456.7 MB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.03834/4.745, allocations: 14.97 MB / 1.037 GB, free: 67.15 MB / 456.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/4.746, allocations: 5.031 kB / 1.037 GB, free: 67.15 MB / 456.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/4.746, allocations: 55.03 kB / 1.037 GB, free: 67.15 MB / 456.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008718/4.755, allocations: 3.215 MB / 1.04 GB, free: 67.05 MB / 456.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/4.765, allocations: 1.623 MB / 1.042 GB, free: 67.05 MB / 456.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/4.783, allocations: 14.28 MB / 1.056 GB, free: 57.9 MB / 456.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006941/4.79, allocations: 215.5 kB / 1.056 GB, free: 57.89 MB / 456.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/4.792, allocations: 355.6 kB / 1.056 GB, free: 57.82 MB / 456.7 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.001358/4.793, allocations: 3.719 kB / 1.056 GB, free: 57.82 MB / 456.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002472/4.796, allocations: 0.5665 MB / 1.057 GB, free: 57.52 MB / 456.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03892/4.835, allocations: 14.83 MB / 1.071 GB, free: 51.62 MB / 456.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02662/4.862, allocations: 11.45 MB / 1.082 GB, free: 47.07 MB / 456.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-05/4.862, allocations: 7.219 kB / 1.082 GB, free: 47.07 MB / 456.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001646/4.862, allocations: 37.84 kB / 1.082 GB, free: 47.07 MB / 456.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06756/4.93, allocations: 28.86 MB / 1.111 GB, free: 28.91 MB / 456.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-05/4.93, allocations: 8 kB / 1.111 GB, free: 28.9 MB / 456.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007881/4.938, allocations: 1.09 MB / 1.112 GB, free: 28.06 MB / 456.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009883/4.948, allocations: 3.494 MB / 1.115 GB, free: 25.16 MB / 456.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001624/4.949, allocations: 86.47 kB / 1.115 GB, free: 25.09 MB / 456.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/4.972, allocations: 18.28 MB / 1.133 GB, free: 7.402 MB / 456.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/4.972, allocations: 8 kB / 1.133 GB, free: 7.395 MB / 456.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2656/5.237, allocations: 24.24 MB / 1.157 GB, free: 71.31 MB / 456.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08926/5.327, allocations: 47.8 MB / 1.203 GB, free: 69.12 MB / 456.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005829/5.333, allocations: 1.809 MB / 1.205 GB, free: 69.03 MB / 456.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002879/5.336, allocations: 25.78 kB / 1.205 GB, free: 69.03 MB / 456.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006698/5.343, allocations: 198.9 kB / 1.205 GB, free: 69.03 MB / 456.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002261/5.345, allocations: 0.5437 MB / 1.206 GB, free: 69.02 MB / 456.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001527/5.347, allocations: 218.7 kB / 1.206 GB, free: 69.02 MB / 456.7 MB Notification: Performance of sort global known variables: time 0.005695/5.352, allocations: 2.43 MB / 1.208 GB, free: 68.84 MB / 456.7 MB Notification: Performance of remove unused functions: time 0.01214/5.365, allocations: 1.995 MB / 1.21 GB, free: 68.84 MB / 456.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000721/5.365, allocations: 0.5218 MB / 1.211 GB, free: 68.78 MB / 456.7 MB Notification: Performance of simCode: created initialization part: time 0.02649/5.392, allocations: 13.03 MB / 1.224 GB, free: 66.68 MB / 456.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/5.392, allocations: 0 / 1.224 GB, free: 66.68 MB / 456.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01524/5.407, allocations: 7.062 MB / 1.231 GB, free: 63.71 MB / 456.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008612/5.416, allocations: 0.9825 MB / 1.232 GB, free: 63.49 MB / 456.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06172/5.478, allocations: 21.76 MB / 1.253 GB, free: 55.48 MB / 456.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01833/5.496, allocations: 8.077 MB / 1.261 GB, free: 52.95 MB / 456.7 MB Notification: Performance of SimCode: time 2.724e-06/5.497, allocations: 1.594 kB / 1.261 GB, free: 52.95 MB / 456.7 MB Notification: Performance of translateModelFMU complete: time 2.093/7.589, allocations: 0.8842 GB / 2.145 GB, free: 66 MB / 456.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform dynamic: time 4.54/12.13, allocations: 11.28 kB / 2.145 GB, free: 65.99 MB / 456.7 MB