Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.035e-05, allocations: 4 kB / 273.1 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5045, allocations: 75.9 MB / 397.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.5048, allocations: 63.97 kB / 397.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02195/0.5268, allocations: 3.881 MB / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5268, allocations: 0 / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.5268, allocations: 8 kB / 401.7 MB, free: 9.766 MB / 330.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.0009389/0.5278, allocations: 498.2 kB / 402.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5279, allocations: 13.83 kB / 402.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.322e-05/0.5279, allocations: 62.53 kB / 402.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.528, allocations: 23.72 kB / 402.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.5285, allocations: 255 kB / 402.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5285, allocations: 16.44 kB / 402.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.5286, allocations: 23.94 kB / 402.6 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.5291, allocations: 179.3 kB / 402.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5292, allocations: 0 / 402.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.5292, allocations: 8 kB / 402.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5292, allocations: 8 kB / 402.8 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.5296, allocations: 129.7 kB / 402.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.5316, allocations: 0.822 MB / 403.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.5319, allocations: 82.58 kB / 403.8 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.532, allocations: 44.84 kB / 403.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.532, allocations: 0 / 403.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5321, allocations: 38.75 kB / 403.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 4.167e-06/0.5321, allocations: 0 / 403.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002176/0.5343, allocations: 0.6434 MB / 404.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5344, allocations: 55.34 kB / 404.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.5346, allocations: 182 kB / 404.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.5347, allocations: 33.7 kB / 404.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.5348, allocations: 168 kB / 404.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.5349, allocations: 55.2 kB / 405 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.5349, allocations: 0 / 405 MB, free: 6.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5351, allocations: 334.7 kB / 405.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.5352, allocations: 55.98 kB / 405.4 MB, free: 5.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.5355, allocations: 93.16 kB / 405.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.5356, allocations: 59.97 kB / 405.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5357, allocations: 4 kB / 405.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007374/0.5364, allocations: 262.4 kB / 405.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.5365, allocations: 11.98 kB / 405.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5365, allocations: 0 / 405.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.5369, allocations: 69.84 kB / 405.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.5372, allocations: 35.86 kB / 405.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.5403, allocations: 2.808 MB / 408.7 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.5406, allocations: 12.03 kB / 408.7 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5406, allocations: 12 kB / 408.7 MB, free: 2.133 MB / 330.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.0001367/0.5408, allocations: 112.9 kB / 408.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5409, allocations: 19.81 kB / 408.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.541, allocations: 21.66 kB / 408.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.541, allocations: 4.062 kB / 408.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.541, allocations: 4 kB / 408.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.5411, allocations: 3.984 kB / 408.9 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.5415, allocations: 293.3 kB / 409.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5415, allocations: 0 / 409.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5417, allocations: 15.98 kB / 409.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.5421, allocations: 65.67 kB / 409.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.5421, allocations: 12 kB / 409.3 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003059/0.5452, allocations: 2.793 MB / 412.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5453, allocations: 0 / 412.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.5461, allocations: 364.8 kB / 412.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5463, allocations: 104.9 kB / 412.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.5463, allocations: 8 kB / 412.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.5466, allocations: 20.05 kB / 412.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.5467, allocations: 19.92 kB / 412.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.5468, allocations: 7.984 kB / 412.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.547, allocations: 152.2 kB / 412.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.547, allocations: 0 / 412.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005019/0.5475, allocations: 64 kB / 412.8 MB, free: 13.69 MB / 346.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.001123/0.5486, allocations: 0.9021 MB / 413.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008455/0.5495, allocations: 389.4 kB / 414.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5495, allocations: 0 / 414.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.5501, allocations: 313.1 kB / 414.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.5505, allocations: 23.98 kB / 414.4 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5519, allocations: 410.8 kB / 414.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.5523, allocations: 0.7595 MB / 415.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.5525, allocations: 18.06 kB / 415.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.5526, allocations: 71.41 kB / 415.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.763e-06/0.5526, allocations: 0 / 415.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.5854, allocations: 4.394 MB / 420.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.5858, allocations: 167.3 kB / 420.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.045, allocations: 0 / 420.2 MB, free: 6.156 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat