Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005237, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3105, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.4721, allocations: 87.87 MB / 396.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4725, allocations: 91.89 kB / 396.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5471/1.02, allocations: 74.67 MB / 471.2 MB, free: 52.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.02, allocations: 0 / 471.2 MB, free: 52.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003423/1.02, allocations: 91.81 kB / 471.3 MB, free: 52.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01285/1.033, allocations: 3.198 MB / 474.5 MB, free: 49.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.033, allocations: 12.02 kB / 474.5 MB, free: 49.45 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001959/1.035, allocations: 437.7 kB / 474.9 MB, free: 49.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/1.037, allocations: 399.7 kB / 475.3 MB, free: 48.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/1.045, allocations: 2.194 MB / 477.5 MB, free: 46.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/1.045, allocations: 213.8 kB / 477.7 MB, free: 46.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/1.047, allocations: 287.9 kB / 478 MB, free: 45.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.059, allocations: 4.133 MB / 482.1 MB, free: 41.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.333e-05/1.06, allocations: 0 / 482.1 MB, free: 41.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005245/1.06, allocations: 128 kB / 482.3 MB, free: 41.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/1.06, allocations: 133.9 kB / 482.4 MB, free: 41.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009864/1.07, allocations: 3.221 MB / 485.6 MB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/1.1, allocations: 11.01 MB / 496.6 MB, free: 26.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/1.104, allocations: 2.629 MB / 499.3 MB, free: 24.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/1.105, allocations: 146.2 kB / 499.4 MB, free: 23.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.105, allocations: 51.5 kB / 499.4 MB, free: 23.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.439e-06/1.105, allocations: 0 / 499.4 MB, free: 23.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01532/1.12, allocations: 5.663 MB / 0.4933 GB, free: 18.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.12, allocations: 90.42 kB / 0.4934 GB, free: 17.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/1.124, allocations: 1.71 MB / 0.495 GB, free: 16.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003514/1.125, allocations: 53.7 kB / 0.4951 GB, free: 16.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009842/1.126, allocations: 1.318 MB / 0.4964 GB, free: 14.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/1.126, allocations: 449.5 kB / 0.4968 GB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.126, allocations: 32 kB / 0.4968 GB, free: 14.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/1.127, allocations: 361.9 kB / 0.4972 GB, free: 13.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.129, allocations: 0.8276 MB / 0.498 GB, free: 13.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/1.131, allocations: 1.169 MB / 0.4991 GB, free: 11.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/1.134, allocations: 1.025 MB / 0.5001 GB, free: 10.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.134, allocations: 0 / 0.5001 GB, free: 10.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007019/1.141, allocations: 2.549 MB / 0.5026 GB, free: 8.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/1.141, allocations: 8 kB / 0.5026 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.297e-05/1.141, allocations: 12 kB / 0.5026 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.142, allocations: 384.7 kB / 0.503 GB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/1.145, allocations: 335.5 kB / 0.5033 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007651/1.153, allocations: 4.35 MB / 0.5076 GB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/1.155, allocations: 95.88 kB / 0.5077 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/1.156, allocations: 63.95 kB / 0.5077 GB, free: 2.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002537/1.158, allocations: 1.044 MB / 0.5087 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/1.159, allocations: 193.7 kB / 0.5089 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005884/1.165, allocations: 2.199 MB / 0.5111 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/1.165, allocations: 12 kB / 0.5111 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.165, allocations: 4 kB / 0.5111 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.165, allocations: 7.969 kB / 0.5111 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.181, allocations: 5.192 MB / 0.5162 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.571e-05/1.181, allocations: 4 kB / 0.5162 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/1.183, allocations: 223.7 kB / 0.5164 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/1.185, allocations: 360.8 kB / 0.5167 GB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/1.185, allocations: 31.98 kB / 0.5168 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009069/1.194, allocations: 4.274 MB / 0.5209 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.194, allocations: 8.016 kB / 0.5209 GB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.205, allocations: 3.305 MB / 0.5242 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/1.207, allocations: 466.7 kB / 0.5246 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000848/1.208, allocations: 28 kB / 0.5246 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.211, allocations: 108 kB / 0.5247 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005888/1.212, allocations: 88.81 kB / 0.5248 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/1.212, allocations: 47.98 kB / 0.5249 GB, free: 1.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0051/1.217, allocations: 1.327 MB / 0.5262 GB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.217, allocations: 4 kB / 0.5262 GB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004776/1.222, allocations: 0.5703 MB / 0.5267 GB, free: 15.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 93 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01432/1.236, allocations: 4.109 MB / 0.5307 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008927/1.245, allocations: 2.334 MB / 0.533 GB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.245, allocations: 0 / 0.533 GB, free: 8.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005242/1.25, allocations: 1.333 MB / 0.5343 GB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/1.256, allocations: 481.6 kB / 0.5348 GB, free: 6.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3251/1.581, allocations: 23.36 MB / 0.5576 GB, free: 96.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.584, allocations: 2.476 MB / 0.56 GB, free: 95.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002507/1.587, allocations: 484.8 kB / 0.5605 GB, free: 95.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/1.589, allocations: 1.038 MB / 0.5615 GB, free: 95.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/1.589, allocations: 0 / 0.5615 GB, free: 95.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.711, allocations: 49.65 MB / 0.61 GB, free: 78.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/1.711, allocations: 221.3 kB / 0.6102 GB, free: 78.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/5.843, allocations: 0 / 0.6102 GB, free: 78.74 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat