Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9809/0.9809, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.897e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 25.16 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07581/0.2441, allocations: 44.29 MB / 220.9 MB, free: 5.051 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.2444, allocations: 67.97 kB / 221 MB, free: 4.984 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4253/0.6697, allocations: 72.53 MB / 293.5 MB, free: 40.97 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6698, allocations: 3.938 kB / 293.5 MB, free: 40.96 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001999/0.67, allocations: 79.88 kB / 293.6 MB, free: 40.89 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.007379/0.6774, allocations: 2.605 MB / 296.2 MB, free: 38.23 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6774, allocations: 12.03 kB / 296.2 MB, free: 38.22 MB / 218.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007552/0.6782, allocations: 371.1 kB / 296.6 MB, free: 37.85 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008619/0.6791, allocations: 328.1 kB / 296.9 MB, free: 37.53 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/0.6835, allocations: 1.822 MB / 298.7 MB, free: 35.68 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.6837, allocations: 196.6 kB / 298.9 MB, free: 35.48 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005201/0.6842, allocations: 244 kB / 299.2 MB, free: 35.25 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007644/0.6919, allocations: 3.559 MB / 302.7 MB, free: 31.54 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.916e-05/0.692, allocations: 0 / 302.7 MB, free: 31.54 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004012/0.6924, allocations: 112 kB / 302.8 MB, free: 31.43 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.6926, allocations: 121.1 kB / 302.9 MB, free: 31.3 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006577/0.6991, allocations: 2.759 MB / 305.7 MB, free: 28.54 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.7198, allocations: 9.258 MB / 315 MB, free: 19.23 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.7231, allocations: 2.468 MB / 317.4 MB, free: 16.55 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.7263, allocations: 1.302 MB / 318.7 MB, free: 15.25 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.7264, allocations: 19.89 kB / 318.8 MB, free: 15.23 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7264, allocations: 55.5 kB / 318.8 MB, free: 15.16 MB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 3.887e-06/0.7265, allocations: 0 / 318.8 MB, free: 15.16 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.009465/0.7359, allocations: 3.986 MB / 322.8 MB, free: 11.12 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.736, allocations: 90.11 kB / 322.9 MB, free: 11.02 MB / 218.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7955:5-7956:40:writable] Warning: Parameter transformerData.P_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=300.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7953:5-7954:36:writable] Warning: Parameter transformerData.v_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7951:5-7952:33:writable] Warning: Parameter transformerData.SNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=30000.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7945:5-7946:86:writable] Warning: Parameter transformerData.V2 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7940:5-7941:53:writable] Warning: Parameter transformerData.V1 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7939:5-7939:73:writable] Warning: Parameter transformerData.f has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.7386, allocations: 1.361 MB / 324.2 MB, free: 9.648 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.7388, allocations: 45.7 kB / 324.3 MB, free: 9.598 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.7394, allocations: 1.127 MB / 325.4 MB, free: 8.461 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.7398, allocations: 417.1 kB / 325.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.7399, allocations: 24 kB / 325.8 MB, free: 8.035 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.74, allocations: 366.7 kB / 326.2 MB, free: 7.668 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.7415, allocations: 0.7255 MB / 326.9 MB, free: 6.941 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.7432, allocations: 1.013 MB / 327.9 MB, free: 5.801 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001738/0.7449, allocations: 0.9047 MB / 328.8 MB, free: 4.902 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.745, allocations: 4 kB / 328.9 MB, free: 4.898 MB / 218.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004638/0.7496, allocations: 2.118 MB / 331 MB, free: 2.77 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.7497, allocations: 11.95 kB / 331 MB, free: 2.758 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/0.7497, allocations: 12 kB / 331 MB, free: 2.746 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.7512, allocations: 352.6 kB / 331.3 MB, free: 2.398 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.7535, allocations: 299.5 kB / 331.6 MB, free: 2.105 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.7605, allocations: 3.802 MB / 335.4 MB, free: 14.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.7624, allocations: 87.86 kB / 335.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.7626, allocations: 59.98 kB / 335.6 MB, free: 14.03 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004289/0.7631, allocations: 188.6 kB / 335.8 MB, free: 13.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.7635, allocations: 158.1 kB / 335.9 MB, free: 13.68 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.7685, allocations: 1.915 MB / 337.8 MB, free: 11.75 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.7686, allocations: 15.95 kB / 337.8 MB, free: 11.73 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.7686, allocations: 8 kB / 337.9 MB, free: 11.73 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.7686, allocations: 3.984 kB / 337.9 MB, free: 11.72 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.7802, allocations: 4.54 MB / 342.4 MB, free: 7.133 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.7803, allocations: 7.984 kB / 342.4 MB, free: 7.125 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.7822, allocations: 223.7 kB / 342.6 MB, free: 6.906 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.7838, allocations: 320.6 kB / 342.9 MB, free: 6.59 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.7839, allocations: 35.98 kB / 343 MB, free: 6.555 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007321/0.7913, allocations: 3.72 MB / 346.7 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.7913, allocations: 12.08 kB / 346.7 MB, free: 2.695 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1602/0.9516, allocations: 2.955 MB / 349.7 MB, free: 50.85 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.953, allocations: 417.2 kB / 350.1 MB, free: 50.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/0.9533, allocations: 26.44 kB / 350.1 MB, free: 50.75 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.955, allocations: 110 kB / 350.2 MB, free: 50.75 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.9553, allocations: 91.97 kB / 350.3 MB, free: 50.75 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.9555, allocations: 35.83 kB / 350.3 MB, free: 50.75 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002183/0.9577, allocations: 1.049 MB / 351.4 MB, free: 50.64 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9577, allocations: 0 / 351.4 MB, free: 50.64 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002315/0.96, allocations: 491.4 kB / 351.9 MB, free: 50.64 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006526/0.9666, allocations: 3.87 MB / 355.7 MB, free: 49.61 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004322/0.9709, allocations: 2.028 MB / 357.8 MB, free: 49.34 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.971, allocations: 3.562 kB / 357.8 MB, free: 49.34 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.9734, allocations: 1.159 MB / 358.9 MB, free: 49.09 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/0.9773, allocations: 460.7 kB / 359.4 MB, free: 49.09 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.9879, allocations: 4.682 MB / 364 MB, free: 48.16 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.9901, allocations: 2.233 MB / 366.3 MB, free: 47.42 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/0.992, allocations: 0.8991 MB / 367.2 MB, free: 47.42 MB / 234.7 MB Notification: Performance of SimCode: time 1.253e-06/0.992, allocations: 0 / 367.2 MB, free: 47.42 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.267/4.259, allocations: 55.22 MB / 422.4 MB, free: 10.87 MB / 234.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat