Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.052/2.052, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.575e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.5084, allocations: 75.5 MB / 391.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5087, allocations: 61.86 kB / 391.9 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.016/0.5247, allocations: 3.845 MB / 395.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5248, allocations: 0 / 395.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.5248, allocations: 4 kB / 395.7 MB, free: 13.5 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.0009183/0.5258, allocations: 0.4992 MB / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5258, allocations: 8.031 kB / 396.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.5259, allocations: 27.72 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.5263, allocations: 244.7 kB / 396.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5264, allocations: 4 kB / 396.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.5264, allocations: 15.98 kB / 396.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000353/0.5268, allocations: 120.2 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.5272, allocations: 149 kB / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5273, allocations: 0.9844 kB / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.5273, allocations: 4 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.5273, allocations: 4 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.5291, allocations: 0.7697 MB / 397.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.5293, allocations: 79.83 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.5294, allocations: 41.41 kB / 397.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.5295, allocations: 0 / 397.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5295, allocations: 42.5 kB / 397.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.5295, allocations: 0 / 397.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001923/0.5315, allocations: 0.6025 MB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5315, allocations: 59.34 kB / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.5318, allocations: 178.9 kB / 398.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.5318, allocations: 29.7 kB / 398.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5319, allocations: 226.8 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.532, allocations: 54.45 kB / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.532, allocations: 0 / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5322, allocations: 322.2 kB / 399.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.5323, allocations: 48.44 kB / 399.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.5325, allocations: 91.28 kB / 399.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.5327, allocations: 66.52 kB / 399.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5327, allocations: 0 / 399.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006485/0.5333, allocations: 230.8 kB / 399.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5334, allocations: 7.438 kB / 399.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5334, allocations: 4 kB / 399.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.5337, allocations: 71.53 kB / 399.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.534, allocations: 27.98 kB / 399.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.5368, allocations: 2.683 MB / 402.4 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.5371, allocations: 8.031 kB / 402.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.5371, allocations: 7.984 kB / 402.4 MB, free: 7 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.0001169/0.5373, allocations: 112 kB / 402.5 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005135/0.5378, allocations: 189.8 kB / 402.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.5379, allocations: 27.81 kB / 402.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.5379, allocations: 24.7 kB / 402.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5379, allocations: 0 / 402.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.538, allocations: 4 kB / 402.7 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.538, allocations: 3.984 kB / 402.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.5384, allocations: 236.8 kB / 403 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5384, allocations: 4 kB / 403 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5386, allocations: 19.92 kB / 403 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.5389, allocations: 73.36 kB / 403.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5389, allocations: 4.328 kB / 403.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/0.5416, allocations: 2.672 MB / 405.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5416, allocations: 0 / 405.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.5423, allocations: 338.2 kB / 406.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5424, allocations: 111.8 kB / 406.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.5425, allocations: 128 / 406.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.5428, allocations: 23.92 kB / 406.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.5429, allocations: 23.86 kB / 406.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.5429, allocations: 7.938 kB / 406.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.5431, allocations: 136.8 kB / 406.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5431, allocations: 0 / 406.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005501/0.5436, allocations: 56 kB / 406.4 MB, free: 3.008 MB / 330.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.001006/0.5447, allocations: 0.8742 MB / 407.3 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000727/0.5454, allocations: 360.3 kB / 407.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5454, allocations: 4 kB / 407.7 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.5459, allocations: 295.6 kB / 407.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.5463, allocations: 15.56 kB / 408 MB, free: 1.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.5476, allocations: 408.4 kB / 408.4 MB, free: 1.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.548, allocations: 0.7516 MB / 409.1 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.5482, allocations: 73.16 kB / 409.2 MB, free: 336 kB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5482, allocations: 0 / 409.2 MB, free: 336 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.361, allocations: 5.268 MB / 414.4 MB, free: 11.1 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat