Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 194.9 MB / 211.1 MB, free: 8.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 11.98 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3583, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.5567, allocations: 97.98 MB / 406.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.5571, allocations: 95.89 kB / 406.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.168/5.725, allocations: 0.8219 GB / 1.219 GB, free: 17.06 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.236e-06/5.725, allocations: 3.562 kB / 1.219 GB, free: 17.06 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001457/5.727, allocations: 395.9 kB / 1.219 GB, free: 17.06 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.1133/5.84, allocations: 17.09 MB / 1.236 GB, free: 14.16 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/5.84, allocations: 10.62 kB / 1.236 GB, free: 14.16 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0179/5.858, allocations: 3.118 MB / 1.239 GB, free: 13.95 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07183/5.93, allocations: 8.687 MB / 1.248 GB, free: 12.97 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03812/5.968, allocations: 11.94 MB / 1.259 GB, free: 11.57 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002491/5.971, allocations: 1.343 MB / 1.261 GB, free: 11.53 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008878/5.979, allocations: 1.715 MB / 1.262 GB, free: 11.52 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1094/6.089, allocations: 32.18 MB / 1.294 GB, free: 25.37 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001223/6.09, allocations: 27.56 kB / 1.294 GB, free: 25.36 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009768/6.1, allocations: 0.7377 MB / 1.294 GB, free: 25.36 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/6.103, allocations: 1.251 MB / 1.296 GB, free: 25.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09487/6.198, allocations: 28.12 MB / 1.323 GB, free: 23.53 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7477/6.946, allocations: 97.56 MB / 1.418 GB, free: 40.66 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05635/7.002, allocations: 34.01 MB / 1.452 GB, free: 27 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1315/7.134, allocations: 47.05 MB / 1.498 GB, free: 24.22 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/7.134, allocations: 149.9 kB / 1.498 GB, free: 24.17 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1456): time 2.3e-05/7.134, allocations: 0 / 1.498 GB, free: 24.17 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1456): time 0.5111/7.645, allocations: 93.79 MB / 1.589 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/7.645, allocations: 197.9 kB / 1.589 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/7.657, allocations: 3.96 MB / 1.593 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003251/7.66, allocations: 202.4 kB / 1.594 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0064/7.667, allocations: 6.108 MB / 1.599 GB, free: 340 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.4792/8.146, allocations: 4.768 MB / 1.604 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003755/8.15, allocations: 229.4 kB / 1.604 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001976/8.152, allocations: 0.8982 MB / 1.605 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02703/8.179, allocations: 9.9 MB / 1.615 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03103/8.21, allocations: 12.32 MB / 1.627 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03239/8.242, allocations: 11.94 MB / 1.639 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/8.243, allocations: 17.19 kB / 1.639 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.08674/8.329, allocations: 28.75 MB / 1.667 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/8.33, allocations: 30.78 kB / 1.667 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/8.33, allocations: 64.47 kB / 1.667 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03297/8.363, allocations: 10.7 MB / 1.677 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01551/8.378, allocations: 1.927 MB / 1.679 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04568/8.424, allocations: 21.57 MB / 1.7 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/8.438, allocations: 1.425 MB / 1.702 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004391/8.443, allocations: 0.5255 MB / 1.702 GB, free: 62.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * 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 (1052): * Single equations (assignments): 899 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.02346/8.466, allocations: 7.211 MB / 1.709 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00524/8.472, allocations: 0.7287 MB / 1.71 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08408/8.556, allocations: 28.11 MB / 1.737 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06836/8.624, allocations: 25.56 MB / 1.762 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-05/8.624, allocations: 4 kB / 1.762 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002478/8.625, allocations: 56.62 kB / 1.762 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6438/9.268, allocations: 53.03 MB / 1.814 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002301/9.269, allocations: 0 / 1.814 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01703/9.286, allocations: 1.339 MB / 1.815 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03285/9.319, allocations: 10.64 MB / 1.826 GB, free: 69.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003672/9.322, allocations: 302.8 kB / 1.826 GB, free: 69.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04541/9.368, allocations: 21.44 MB / 1.847 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/9.368, allocations: 0 / 1.847 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1132/9.481, allocations: 41.6 MB / 1.888 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01236/9.494, allocations: 3.136 MB / 1.891 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005298/9.499, allocations: 185.8 kB / 1.891 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01176/9.511, allocations: 0.5074 MB / 1.891 GB, free: 57.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006037/9.517, allocations: 1.059 MB / 1.892 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004006/9.521, allocations: 376.5 kB / 1.893 GB, free: 57.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00852/9.529, allocations: 2.963 MB / 1.896 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/9.529, allocations: 0 / 1.896 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02249/9.552, allocations: 4.366 MB / 1.9 GB, free: 55.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * 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 (746): * Single equations (assignments): 593 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1706/9.723, allocations: 42.55 MB / 1.941 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.08334/9.806, allocations: 23.84 MB / 1.965 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/9.806, allocations: 1.438 kB / 1.965 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.5144/10.32, allocations: 12.33 MB / 1.977 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/10.34, allocations: 1.374 MB / 1.978 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.34/10.68, allocations: 158.4 MB / 2.133 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03811/10.71, allocations: 12.39 MB / 2.145 GB, free: 13.67 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.019/10.73, allocations: 2.757 MB / 2.148 GB, free: 13.41 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02089/10.75, allocations: 6.151 MB / 2.154 GB, free: 8.09 MB / 0.5262 GB Notification: Performance of SimCode: time 1.543e-06/10.75, allocations: 0 / 2.154 GB, free: 8.09 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.713/12.47, allocations: 348.9 MB / 2.494 GB, free: 51.64 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/12.47, allocations: 252.4 kB / 2.495 GB, free: 51.39 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/23.99, allocations: 0 / 2.495 GB, free: 51.39 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat