Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004762, allocations: 8 kB / 233.4 MB, free: 2.906 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07978/0.0803, allocations: 38.76 MB / 272.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.4643, allocations: 85.19 MB / 357.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.4646, allocations: 86.7 kB / 357.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.711/4.175, allocations: 0.7779 GB / 1.127 GB, free: 7.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/4.175, allocations: 0 / 1.127 GB, free: 7.176 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001778/4.177, allocations: 387.6 kB / 1.127 GB, free: 6.797 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.7882/4.965, allocations: 15.69 MB / 1.143 GB, free: 16.88 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/4.966, allocations: 9.125 kB / 1.143 GB, free: 16.88 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01255/4.978, allocations: 2.463 MB / 1.145 GB, free: 16.72 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/4.992, allocations: 2.073 MB / 1.147 GB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03502/5.028, allocations: 10.59 MB / 1.157 GB, free: 14.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00239/5.03, allocations: 1.267 MB / 1.159 GB, free: 14.67 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007791/5.038, allocations: 1.625 MB / 1.16 GB, free: 14.66 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09147/5.129, allocations: 27.86 MB / 1.187 GB, free: 12.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001101/5.131, allocations: 23.25 kB / 1.187 GB, free: 12.54 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006987/5.138, allocations: 0.703 MB / 1.188 GB, free: 12.54 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/5.139, allocations: 0.7406 MB / 1.189 GB, free: 12.54 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07438/5.213, allocations: 20.54 MB / 1.209 GB, free: 12.39 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2477/5.461, allocations: 86.13 MB / 1.293 GB, free: 12.71 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03283/5.494, allocations: 13.91 MB / 1.307 GB, free: 68 kB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7274/6.221, allocations: 233.4 kB / 1.307 GB, free: 65.62 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/6.222, allocations: 120.4 kB / 1.307 GB, free: 65.57 MB / 458.9 MB Notification: Performance of pre-optimization done (n=1122): time 1.736e-05/6.222, allocations: 0.6562 kB / 1.307 GB, free: 65.57 MB / 458.9 MB Notification: Performance of matching and sorting (n=1122): time 0.4537/6.675, allocations: 84.57 MB / 1.39 GB, free: 47.82 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/6.675, allocations: 212.1 kB / 1.39 GB, free: 47.65 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007956/6.683, allocations: 2.975 MB / 1.393 GB, free: 47.44 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.002613/6.686, allocations: 150.2 kB / 1.393 GB, free: 47.41 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003763/6.69, allocations: 5.399 MB / 1.398 GB, free: 44.53 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.006553/6.697, allocations: 3.661 MB / 1.402 GB, free: 42.12 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002541/6.699, allocations: 154.3 kB / 1.402 GB, free: 42.12 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.001452/6.701, allocations: 0.7436 MB / 1.403 GB, free: 41.79 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02039/6.721, allocations: 7.725 MB / 1.41 GB, free: 41.77 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02251/6.744, allocations: 9.24 MB / 1.419 GB, free: 40.39 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02343/6.767, allocations: 9.264 MB / 1.428 GB, free: 37.89 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-05/6.767, allocations: 12 kB / 1.428 GB, free: 37.88 MB / 458.9 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.06793/6.835, allocations: 23.03 MB / 1.451 GB, free: 20.04 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 8.441e-05/6.835, allocations: 20 kB / 1.451 GB, free: 20.02 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/6.835, allocations: 36 kB / 1.451 GB, free: 19.98 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04393/6.879, allocations: 11.01 MB / 1.461 GB, free: 10.55 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008784/6.888, allocations: 0.9063 MB / 1.462 GB, free: 9.859 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4943/7.383, allocations: 23.09 MB / 1.485 GB, free: 56.19 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008754/7.391, allocations: 0.8485 MB / 1.486 GB, free: 55.98 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/7.395, allocations: 359 kB / 1.486 GB, free: 55.98 MB / 458.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (540): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.02096/7.416, allocations: 6.771 MB / 1.493 GB, free: 55.84 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003891/7.42, allocations: 0.5642 MB / 1.493 GB, free: 55.77 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06915/7.489, allocations: 24.03 MB / 1.517 GB, free: 55.21 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05718/7.546, allocations: 21.47 MB / 1.538 GB, free: 54.83 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/7.546, allocations: 0 / 1.538 GB, free: 54.83 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001704/7.546, allocations: 43.2 kB / 1.538 GB, free: 54.83 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1237/7.67, allocations: 44.92 MB / 1.582 GB, free: 39.13 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002043/7.67, allocations: 2.219 kB / 1.582 GB, free: 39.13 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005061/7.675, allocations: 0.5675 MB / 1.582 GB, free: 39.12 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03402/7.709, allocations: 11.01 MB / 1.593 GB, free: 35.45 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002665/7.712, allocations: 220.9 kB / 1.593 GB, free: 35.27 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04545/7.758, allocations: 22.77 MB / 1.615 GB, free: 14.8 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/7.758, allocations: 0 / 1.615 GB, free: 14.8 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5121/8.27, allocations: 36.43 MB / 1.651 GB, free: 71.66 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008488/8.278, allocations: 2.433 MB / 1.653 GB, free: 71.45 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003779/8.282, allocations: 137.1 kB / 1.653 GB, free: 71.45 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00746/8.29, allocations: 257.9 kB / 1.654 GB, free: 71.45 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004516/8.294, allocations: 0.8774 MB / 1.655 GB, free: 71.44 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002858/8.297, allocations: 273.3 kB / 1.655 GB, free: 71.44 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.007119/8.304, allocations: 2.309 MB / 1.657 GB, free: 71.3 MB / 474.9 MB Notification: Performance of sort global known variables: time 6.02e-07/8.304, allocations: 0 / 1.657 GB, free: 71.3 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.01759/8.322, allocations: 3.744 MB / 1.661 GB, free: 70.32 MB / 474.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_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 (356): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,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.09419/8.416, allocations: 35.42 MB / 1.695 GB, free: 68.25 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.05351/8.47, allocations: 18.66 MB / 1.714 GB, free: 67.86 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/8.47, allocations: 0 / 1.714 GB, free: 67.86 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.03161/8.501, allocations: 9.899 MB / 1.723 GB, free: 67.61 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01374/8.515, allocations: 1.314 MB / 1.724 GB, free: 67.57 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6869/9.202, allocations: 117.8 MB / 1.839 GB, free: 70.03 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02729/9.229, allocations: 11.22 MB / 1.85 GB, free: 69 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01359/9.243, allocations: 5.412 MB / 1.856 GB, free: 69 MB / 474.9 MB Notification: Performance of SimCode: time 1.693e-06/9.243, allocations: 0 / 1.856 GB, free: 69 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.933/18.18, allocations: 1.019 GB / 2.875 GB, free: 88.48 MB / 0.495 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat