Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) 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 1.147/1.147, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.006e-05, allocations: 4 kB / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1694, allocations: 25.17 MB / 179.5 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07842/0.2479, allocations: 44.29 MB / 223.8 MB, free: 4.77 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.2482, allocations: 67.97 kB / 223.9 MB, free: 4.703 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4394/0.6876, allocations: 72.51 MB / 296.4 MB, free: 10.39 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6877, allocations: 0 / 296.4 MB, free: 10.39 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0002516/0.688, allocations: 79.88 kB / 296.5 MB, free: 10.32 MB / 202.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.008679/0.6967, allocations: 2.608 MB / 299.1 MB, free: 7.652 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6967, allocations: 15.95 kB / 299.1 MB, free: 7.637 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00121/0.6979, allocations: 375.1 kB / 299.5 MB, free: 7.262 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.699, allocations: 324.5 kB / 299.8 MB, free: 6.941 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.7044, allocations: 1.829 MB / 301.6 MB, free: 5.055 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.7046, allocations: 189.1 kB / 301.8 MB, free: 4.867 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008571/0.7055, allocations: 255.9 kB / 302 MB, free: 4.617 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009481/0.715, allocations: 3.578 MB / 305.6 MB, free: 0.875 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.377e-05/0.7151, allocations: 0 / 305.6 MB, free: 0.875 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.7155, allocations: 112 kB / 305.7 MB, free: 0.7656 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.7157, allocations: 129 kB / 305.9 MB, free: 0.6367 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009093/0.7248, allocations: 2.789 MB / 308.6 MB, free: 13.83 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02833/0.7532, allocations: 9.26 MB / 317.9 MB, free: 4.426 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.7576, allocations: 2.479 MB / 320.4 MB, free: 1.738 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/0.7615, allocations: 1.317 MB / 321.7 MB, free: 428 kB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.7618, allocations: 20.97 kB / 321.7 MB, free: 404 kB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.7618, allocations: 47.5 kB / 321.8 MB, free: 348 kB / 218.7 MB Notification: Performance of pre-optimization done (n=117): time 4.549e-06/0.7618, allocations: 0 / 321.8 MB, free: 348 kB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.01264/0.7745, allocations: 3.991 MB / 325.8 MB, free: 12.29 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.7746, allocations: 90.11 kB / 325.8 MB, free: 12.18 MB / 234.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.003624/0.7782, allocations: 1.358 MB / 327.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.7786, allocations: 45.7 kB / 327.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.7798, allocations: 1.127 MB / 328.4 MB, free: 9.625 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000775/0.7807, allocations: 417.9 kB / 328.8 MB, free: 9.211 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.7808, allocations: 24 kB / 328.8 MB, free: 9.188 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.7811, allocations: 366.8 kB / 329.2 MB, free: 8.82 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.7831, allocations: 0.7177 MB / 329.9 MB, free: 8.102 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.7857, allocations: 1.024 MB / 330.9 MB, free: 6.957 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.7883, allocations: 0.9086 MB / 331.8 MB, free: 6.051 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.7883, allocations: 4 kB / 331.8 MB, free: 6.047 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006562/0.7949, allocations: 2.137 MB / 334 MB, free: 3.898 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.795, allocations: 8 kB / 334 MB, free: 3.891 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.453e-05/0.7951, allocations: 12 kB / 334 MB, free: 3.879 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.7968, allocations: 348.7 kB / 334.3 MB, free: 3.535 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.7995, allocations: 311.5 kB / 334.6 MB, free: 3.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1891/0.9887, allocations: 3.786 MB / 338.4 MB, free: 45.51 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.9907, allocations: 96.31 kB / 338.5 MB, free: 45.51 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.991, allocations: 49.47 kB / 338.6 MB, free: 45.51 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.0004307/0.9914, allocations: 182 kB / 338.7 MB, free: 45.41 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005802/0.992, allocations: 162.2 kB / 338.9 MB, free: 45.41 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/0.9973, allocations: 1.915 MB / 340.8 MB, free: 45.33 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.9974, allocations: 11.69 kB / 340.8 MB, free: 45.33 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.9974, allocations: 6.531 kB / 340.8 MB, free: 45.33 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.9974, allocations: 3.703 kB / 340.8 MB, free: 45.33 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.009, allocations: 4.562 MB / 345.4 MB, free: 44.92 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/1.009, allocations: 3.281 kB / 345.4 MB, free: 44.92 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.011, allocations: 223.7 kB / 345.6 MB, free: 44.92 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/1.012, allocations: 319.9 kB / 345.9 MB, free: 44.91 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.013, allocations: 28.45 kB / 345.9 MB, free: 44.91 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/1.019, allocations: 3.724 MB / 349.7 MB, free: 43.58 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.019, allocations: 7.031 kB / 349.7 MB, free: 43.58 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/1.026, allocations: 2.96 MB / 352.6 MB, free: 43.28 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.027, allocations: 415.8 kB / 353 MB, free: 43.18 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/1.027, allocations: 31.45 kB / 353.1 MB, free: 43.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.029, allocations: 111.6 kB / 353.2 MB, free: 43.18 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.029, allocations: 87.84 kB / 353.3 MB, free: 43.17 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.029, allocations: 42.89 kB / 353.3 MB, free: 43.17 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002144/1.032, allocations: 1.046 MB / 354.4 MB, free: 43.05 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.032, allocations: 0 / 354.4 MB, free: 43.05 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002441/1.034, allocations: 489.8 kB / 354.8 MB, free: 43.05 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.007067/1.041, allocations: 3.875 MB / 358.7 MB, free: 41.91 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004697/1.046, allocations: 2.065 MB / 360.8 MB, free: 41.62 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.046, allocations: 0 / 360.8 MB, free: 41.62 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.049, allocations: 1.188 MB / 362 MB, free: 41.2 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/1.053, allocations: 453.4 kB / 362.4 MB, free: 41.1 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.064, allocations: 4.696 MB / 367.1 MB, free: 39.32 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.067, allocations: 2.232 MB / 369.3 MB, free: 38.3 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.069, allocations: 0.9026 MB / 370.2 MB, free: 37.55 MB / 234.7 MB Notification: Performance of SimCode: time 1.633e-06/1.069, allocations: 3.812 kB / 370.2 MB, free: 37.55 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.506/4.575, allocations: 55.45 MB / 425.7 MB, free: 11.62 MB / 250.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