Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.643e-05, allocations: 0 / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 50.4 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.5663, allocations: 87.3 MB / 429.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.5667, allocations: 84.19 kB / 430 MB, free: 6.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.103/0.6698, allocations: 26.75 MB / 456.8 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6698, allocations: 0 / 456.8 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.6699, allocations: 12 kB / 456.8 MB, free: 0.6094 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003911/0.6738, allocations: 1.03 MB / 457.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.6739, allocations: 8.031 kB / 457.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003774/0.6743, allocations: 148.1 kB / 457.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005273/0.6796, allocations: 498.5 kB / 458.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.6807, allocations: 418.5 kB / 458.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.6808, allocations: 81.94 kB / 458.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.681, allocations: 99.91 kB / 459 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.6837, allocations: 0.9314 MB / 460 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.6837, allocations: 0 / 460 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.6839, allocations: 40 kB / 460 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.6839, allocations: 24 kB / 460 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.6865, allocations: 0.8553 MB / 460.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008967/0.6955, allocations: 3.472 MB / 464.3 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.6993, allocations: 2.202 MB / 466.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.7001, allocations: 272.6 kB / 466.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.7003, allocations: 105.6 kB / 466.9 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.7004, allocations: 39.12 kB / 467 MB, free: 5.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.895e-06/0.7004, allocations: 0 / 467 MB, free: 5.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001458/0.7018, allocations: 486.6 kB / 467.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.702, allocations: 119.4 kB / 467.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.7024, allocations: 234.8 kB / 467.8 MB, free: 4.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.7025, allocations: 37.7 kB / 467.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.7028, allocations: 441 kB / 468.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.7031, allocations: 228.7 kB / 468.5 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.7032, allocations: 16 kB / 468.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.7034, allocations: 342.8 kB / 468.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.704, allocations: 197.6 kB / 469 MB, free: 3.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.7047, allocations: 403.6 kB / 469.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.7054, allocations: 267.2 kB / 469.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.7055, allocations: 4 kB / 469.7 MB, free: 2.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001801/0.7073, allocations: 0.6708 MB / 470.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.7074, allocations: 8 kB / 470.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7074, allocations: 8 kB / 470.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.7074, allocations: 8 kB / 470.4 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.7088, allocations: 191.7 kB / 470.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/0.7089, allocations: 15.94 kB / 470.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.7097, allocations: 83.39 kB / 470.6 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.7098, allocations: 36 kB / 470.7 MB, free: 1.848 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.71, allocations: 152.7 kB / 470.8 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.7102, allocations: 43.52 kB / 470.9 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.712, allocations: 0.6046 MB / 471.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.7121, allocations: 8 kB / 471.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7121, allocations: 0 / 471.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.7121, allocations: 3.984 kB / 471.5 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003844/0.716, allocations: 1.444 MB / 472.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.716, allocations: 0 / 472.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.7172, allocations: 135.9 kB / 473.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.7172, allocations: 7.938 kB / 473.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.7173, allocations: 23.94 kB / 473.1 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.7173, allocations: 0 / 473.1 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7174, allocations: 7.938 kB / 473.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.7196, allocations: 1.079 MB / 474.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.7199, allocations: 128.5 kB / 474.3 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.72, allocations: 12 kB / 474.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.7207, allocations: 23.98 kB / 474.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7208, allocations: 48.48 kB / 474.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.7209, allocations: 20.06 kB / 474.4 MB, free: 14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003091/0.7212, allocations: 183.1 kB / 474.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.7212, allocations: 0 / 474.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001166/0.7224, allocations: 235 kB / 474.8 MB, free: 13.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003026/0.7255, allocations: 1.855 MB / 476.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.7271, allocations: 0.5473 MB / 477.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7271, allocations: 4.062 kB / 477.2 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.7278, allocations: 282 kB / 477.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.7284, allocations: 26.81 kB / 477.5 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.732, allocations: 1.08 MB / 478.6 MB, free: 9.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.7328, allocations: 0.9203 MB / 479.5 MB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.7334, allocations: 259.4 kB / 479.8 MB, free: 8.523 MB / 394.7 MB Notification: Performance of SimCode: time 1.542e-06/0.7334, allocations: 0 / 479.8 MB, free: 8.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.537/3.271, allocations: 10.02 MB / 489.8 MB, free: 14.49 MB / 410.7 MB