Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Electrical_SingularTransfomer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.779/2.779, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.23e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4043, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.575, allocations: 81.48 MB / 435.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.5753, allocations: 71.97 kB / 435.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.595, allocations: 3.807 MB / 439.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.595, allocations: 4 kB / 439.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.5951, allocations: 7.938 kB / 439.8 MB, free: 9.688 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001088/0.5962, allocations: 495.1 kB / 440.2 MB, free: 9.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5962, allocations: 8.031 kB / 440.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.619e-05/0.5963, allocations: 50.53 kB / 440.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.5964, allocations: 23.72 kB / 440.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.5969, allocations: 251 kB / 440.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.597, allocations: 8.438 kB / 440.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.5971, allocations: 16 kB / 440.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000436/0.5975, allocations: 116.9 kB / 440.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.598, allocations: 150.4 kB / 440.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.598, allocations: 0 / 440.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.5981, allocations: 4 kB / 440.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.5981, allocations: 4 kB / 440.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.6003, allocations: 0.767 MB / 441.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.6006, allocations: 90.56 kB / 441.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.6007, allocations: 44.84 kB / 441.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6008, allocations: 192 / 441.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6008, allocations: 34.5 kB / 441.8 MB, free: 7.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.514e-06/0.6008, allocations: 0 / 441.8 MB, free: 7.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002346/0.6032, allocations: 0.5982 MB / 442.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6033, allocations: 51.41 kB / 442.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.6036, allocations: 175.2 kB / 442.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.6036, allocations: 29.7 kB / 442.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.6038, allocations: 175.9 kB / 442.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.6039, allocations: 55.19 kB / 442.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.6039, allocations: 0 / 442.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6041, allocations: 330.8 kB / 443.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.6043, allocations: 44 kB / 443.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.6046, allocations: 93.08 kB / 443.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.6048, allocations: 57.7 kB / 443.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6048, allocations: 0 / 443.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008404/0.6056, allocations: 243.3 kB / 443.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6057, allocations: 4 kB / 443.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6057, allocations: 0 / 443.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.6061, allocations: 69.69 kB / 443.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.6065, allocations: 39.91 kB / 443.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.61, allocations: 2.681 MB / 446.4 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.6103, allocations: 7.984 kB / 446.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.6104, allocations: 8.188 kB / 446.4 MB, free: 2.473 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.6105, allocations: 113 kB / 446.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.6106, allocations: 19.81 kB / 446.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.6107, allocations: 21.95 kB / 446.6 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.6107, allocations: 4 kB / 446.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6107, allocations: 0 / 446.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6108, allocations: 4 kB / 446.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.6112, allocations: 242 kB / 446.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6112, allocations: 0 / 446.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.6115, allocations: 23.92 kB / 446.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/0.6118, allocations: 65.67 kB / 446.9 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6119, allocations: 4 kB / 446.9 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003233/0.6151, allocations: 2.681 MB / 449.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6152, allocations: 0 / 449.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.616, allocations: 337.5 kB / 449.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.6162, allocations: 100.9 kB / 450 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.6162, allocations: 4.125 kB / 450 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.6166, allocations: 15.98 kB / 450 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.6167, allocations: 19.92 kB / 450.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.6168, allocations: 4 kB / 450.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.617, allocations: 143.1 kB / 450.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.617, allocations: 3.938 kB / 450.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006048/0.6176, allocations: 64 kB / 450.3 MB, free: 14.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.6189, allocations: 0.8789 MB / 451.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.6198, allocations: 365 kB / 451.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6199, allocations: 0 / 451.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.6205, allocations: 291.7 kB / 451.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6209, allocations: 29.22 kB / 451.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6224, allocations: 378.3 kB / 452.2 MB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.6229, allocations: 0.7516 MB / 452.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.6231, allocations: 21.84 kB / 453 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.6233, allocations: 67.41 kB / 453 MB, free: 11.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6233, allocations: 3.938 kB / 453 MB, free: 11.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06031/0.6836, allocations: 3.845 MB / 456.9 MB, free: 7.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005273/0.6842, allocations: 137.2 kB / 457 MB, free: 7.398 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.944/3.628, allocations: 0 / 457 MB, free: 7.398 MB / 394.7 MB "" Variables in the reference:time,basicTransformer.i1,basicTransformer.i2 Variables in the result:L,basicTransformer.L1,basicTransformer.L2,basicTransformer.M,basicTransformer.dv,basicTransformer.i1,basicTransformer.i2,basicTransformer.n1.i,basicTransformer.n1.v,basicTransformer.n2.i,basicTransformer.n2.v,basicTransformer.p1.i,basicTransformer.p1.v,basicTransformer.p2.i,basicTransformer.p2.v,basicTransformer.v1,basicTransformer.v2,der(basicTransformer.i1),der(basicTransformer.i2),der(basicTransformer.v2),der(load1.v),der(resistor11.v),der(resistor12.v),der(sineVoltage1.v),ground1.p.i,ground1.p.v,ground2.p.i,ground2.p.v,load1.LossPower,load1.R,load1.R_actual,load1.T,load1.T_heatPort,load1.T_ref,load1.alpha,load1.i,load1.n.i,load1.n.v,load1.p.i,load1.p.v,load1.useHeatPort,load1.v,resistor11.LossPower,resistor11.R,resistor11.R_actual,resistor11.T,resistor11.T_heatPort,resistor11.T_ref,resistor11.alpha,resistor11.i,resistor11.n.i,resistor11.n.v,resistor11.p.i,resistor11.p.v,resistor11.useHeatPort,resistor11.v,resistor12.LossPower,resistor12.R,resistor12.R_actual,resistor12.T,resistor12.T_heatPort,resistor12.T_ref,resistor12.alpha,resistor12.i,resistor12.n.i,resistor12.n.v,resistor12.p.i,resistor12.p.v,resistor12.useHeatPort,resistor12.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,time