Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.73/1.73, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003726, allocations: 16 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.09004, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4602, allocations: 82.51 MB / 354.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.4606, allocations: 89.27 kB / 354.7 MB, free: 6.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3365/0.7972, allocations: 74.86 MB / 429.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.7972, allocations: 0 / 429.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003915/0.7977, allocations: 91.88 kB / 429.7 MB, free: 1.43 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.264/1.062, allocations: 3.125 MB / 432.8 MB, free: 63.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.062, allocations: 8.25 kB / 432.8 MB, free: 63.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002074/1.064, allocations: 436.9 kB / 433.2 MB, free: 63.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/1.066, allocations: 399.6 kB / 433.6 MB, free: 63.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/1.073, allocations: 1.991 MB / 435.6 MB, free: 62.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/1.074, allocations: 222 kB / 435.8 MB, free: 62.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.075, allocations: 282.5 kB / 436.1 MB, free: 62.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/1.09, allocations: 4.129 MB / 440.2 MB, free: 62.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.688e-05/1.09, allocations: 1.375 kB / 440.2 MB, free: 62.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005377/1.09, allocations: 130.7 kB / 440.4 MB, free: 62.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/1.091, allocations: 135.1 kB / 440.5 MB, free: 62.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/1.102, allocations: 3.219 MB / 443.7 MB, free: 62.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/1.132, allocations: 10.92 MB / 454.6 MB, free: 60.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/1.136, allocations: 2.636 MB / 457.3 MB, free: 59.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/1.137, allocations: 142.3 kB / 457.4 MB, free: 59.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.137, allocations: 51.72 kB / 457.5 MB, free: 59.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.719e-06/1.137, allocations: 0 / 457.5 MB, free: 59.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01495/1.152, allocations: 5.661 MB / 463.1 MB, free: 58.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.152, allocations: 95.42 kB / 463.2 MB, free: 58.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/1.156, allocations: 1.605 MB / 464.8 MB, free: 57.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000356/1.156, allocations: 48.17 kB / 464.9 MB, free: 57.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.157, allocations: 1.304 MB / 466.2 MB, free: 56.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/1.158, allocations: 452 kB / 466.6 MB, free: 56.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.158, allocations: 31.97 kB / 466.6 MB, free: 56.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/1.158, allocations: 366.3 kB / 467 MB, free: 56.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/1.16, allocations: 0.8203 MB / 467.8 MB, free: 55.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/1.162, allocations: 1.172 MB / 469 MB, free: 55.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/1.165, allocations: 1.024 MB / 470 MB, free: 54.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/1.165, allocations: 3.969 kB / 470 MB, free: 54.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006777/1.171, allocations: 2.545 MB / 472.6 MB, free: 53.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.171, allocations: 11.62 kB / 472.6 MB, free: 53.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/1.172, allocations: 14.33 kB / 472.6 MB, free: 53.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/1.173, allocations: 378.8 kB / 473 MB, free: 53.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/1.176, allocations: 328.9 kB / 473.3 MB, free: 53.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007637/1.184, allocations: 4.349 MB / 477.6 MB, free: 50.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.186, allocations: 89.14 kB / 477.7 MB, free: 50.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/1.186, allocations: 66.67 kB / 477.8 MB, free: 50.95 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.002518/1.189, allocations: 1.036 MB / 478.8 MB, free: 50.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/1.19, allocations: 193.1 kB / 479 MB, free: 50.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/1.196, allocations: 2.21 MB / 481.2 MB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/1.196, allocations: 16.89 kB / 481.2 MB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.196, allocations: 3.75 kB / 481.2 MB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/1.196, allocations: 9.656 kB / 481.2 MB, free: 49.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/1.211, allocations: 5.132 MB / 486.4 MB, free: 47.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/1.211, allocations: 0 / 486.4 MB, free: 47.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/1.213, allocations: 229 kB / 486.6 MB, free: 47.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/1.214, allocations: 356.8 kB / 486.9 MB, free: 47.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/1.215, allocations: 26.48 kB / 487 MB, free: 47.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/1.222, allocations: 4.289 MB / 491.3 MB, free: 44.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.222, allocations: 0 / 491.3 MB, free: 44.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008067/1.23, allocations: 3.31 MB / 494.6 MB, free: 43.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.232, allocations: 456.3 kB / 495 MB, free: 42.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006559/1.233, allocations: 37.78 kB / 495.1 MB, free: 42.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.235, allocations: 99.61 kB / 495.1 MB, free: 42.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/1.236, allocations: 85.34 kB / 495.2 MB, free: 42.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.236, allocations: 41.84 kB / 495.3 MB, free: 42.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003027/1.239, allocations: 1.252 MB / 496.5 MB, free: 42.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.239, allocations: 3.469 kB / 496.5 MB, free: 42.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003081/1.242, allocations: 0.5522 MB / 497.1 MB, free: 42.35 MB / 346.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.008909/1.251, allocations: 4.108 MB / 0.4894 GB, free: 40.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005902/1.257, allocations: 2.341 MB / 0.4917 GB, free: 39.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.257, allocations: 6.625 kB / 0.4917 GB, free: 39.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003444/1.26, allocations: 1.318 MB / 0.493 GB, free: 38.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/1.264, allocations: 477.1 kB / 0.4935 GB, free: 38.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/1.305, allocations: 22.78 MB / 0.5157 GB, free: 18.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002953/1.308, allocations: 2.468 MB / 0.5181 GB, free: 16.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002415/1.311, allocations: 464.9 kB / 0.5186 GB, free: 16.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.313, allocations: 1.01 MB / 0.5196 GB, free: 15.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/1.313, allocations: 4 kB / 0.5196 GB, free: 15.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.674, allocations: 47.68 MB / 0.5661 GB, free: 71.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.675, allocations: 218.5 kB / 0.5663 GB, free: 71.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.048/5.723, allocations: 3.938 kB / 0.5663 GB, free: 71.26 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat