Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09824/0.09863, allocations: 44.51 MB / 308.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5457, allocations: 97.98 MB / 406.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.546, allocations: 92.14 kB / 406.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.437/4.983, allocations: 0.8219 GB / 1.219 GB, free: 32.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.996e-06/4.983, allocations: 3.375 kB / 1.219 GB, free: 32.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001581/4.985, allocations: 397 kB / 1.219 GB, free: 32.81 MB / 474.7 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.08507/5.07, allocations: 17.09 MB / 1.236 GB, free: 27.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/5.07, allocations: 14.75 kB / 1.236 GB, free: 27.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01584/5.086, allocations: 3.112 MB / 1.239 GB, free: 27.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06952/5.155, allocations: 8.69 MB / 1.248 GB, free: 26.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0376/5.193, allocations: 11.94 MB / 1.259 GB, free: 25.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002557/5.195, allocations: 1.338 MB / 1.261 GB, free: 25.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01009/5.206, allocations: 1.718 MB / 1.262 GB, free: 25.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1104/5.316, allocations: 32.19 MB / 1.294 GB, free: 23.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001512/5.318, allocations: 17.22 kB / 1.294 GB, free: 23.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01058/5.328, allocations: 0.7439 MB / 1.294 GB, free: 23.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002074/5.33, allocations: 1.248 MB / 1.296 GB, free: 23.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08359/5.414, allocations: 28.12 MB / 1.323 GB, free: 16.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7074/6.122, allocations: 96.76 MB / 1.418 GB, free: 26.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05842/6.18, allocations: 34.01 MB / 1.451 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1319/6.312, allocations: 47.05 MB / 1.497 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/6.312, allocations: 148.1 kB / 1.497 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1456): time 2.015e-05/6.312, allocations: 2.75 kB / 1.497 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1456): time 1.01/7.322, allocations: 94.46 MB / 1.589 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/7.322, allocations: 189.3 kB / 1.589 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/7.334, allocations: 3.955 MB / 1.593 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003434/7.338, allocations: 202.8 kB / 1.593 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004496/7.342, allocations: 5.917 MB / 1.599 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008621/7.351, allocations: 4.769 MB / 1.604 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003871/7.355, allocations: 230.1 kB / 1.604 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002077/7.357, allocations: 0.9041 MB / 1.605 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02754/7.384, allocations: 9.904 MB / 1.615 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03102/7.415, allocations: 12.32 MB / 1.627 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03259/7.448, allocations: 11.93 MB / 1.638 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/7.448, allocations: 17.91 kB / 1.638 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1805) (initialization): time 0.08894/7.537, allocations: 28.53 MB / 1.666 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/7.537, allocations: 36.78 kB / 1.666 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/7.538, allocations: 59.97 kB / 1.666 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03265/7.57, allocations: 10.7 MB / 1.677 GB, free: 54.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01513/7.585, allocations: 1.931 MB / 1.679 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04467/7.63, allocations: 21.57 MB / 1.7 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/7.644, allocations: 1.425 MB / 1.701 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004168/7.649, allocations: 0.5215 MB / 1.702 GB, free: 42.41 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.02251/7.671, allocations: 7.216 MB / 1.709 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004972/7.676, allocations: 0.7279 MB / 1.709 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09269/7.769, allocations: 28.1 MB / 1.737 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5609/8.33, allocations: 28.47 MB / 1.765 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/8.33, allocations: 2.031 kB / 1.765 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002562/8.33, allocations: 57.28 kB / 1.765 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.176/8.506, allocations: 52.3 MB / 1.816 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002907/8.507, allocations: 2.938 kB / 1.816 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01213/8.519, allocations: 1.334 MB / 1.817 GB, free: 69.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03326/8.552, allocations: 10.64 MB / 1.827 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003785/8.556, allocations: 295.8 kB / 1.828 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06244/8.618, allocations: 21.44 MB / 1.849 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/8.619, allocations: 0 / 1.849 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1172/8.736, allocations: 41.6 MB / 1.889 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01095/8.747, allocations: 3.134 MB / 1.892 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005146/8.752, allocations: 186 kB / 1.892 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01126/8.763, allocations: 0.5087 MB / 1.893 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005644/8.769, allocations: 1.064 MB / 1.894 GB, free: 42.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003816/8.773, allocations: 375 kB / 1.894 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009913/8.783, allocations: 2.968 MB / 1.897 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.092e-06/8.783, allocations: 0.8125 kB / 1.897 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02673/8.81, allocations: 4.36 MB / 1.901 GB, free: 38.17 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.601/9.411, allocations: 43.13 MB / 1.944 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.08328/9.494, allocations: 23.81 MB / 1.967 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/9.494, allocations: 4.375 kB / 1.967 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0508/9.545, allocations: 12.32 MB / 1.979 GB, free: 69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01483/9.56, allocations: 1.375 MB / 1.98 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.773/10.33, allocations: 157.5 MB / 2.134 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03343/10.37, allocations: 11.95 MB / 2.146 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01817/10.38, allocations: 6.225 MB / 2.152 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/10.38, allocations: 0 / 2.152 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.542/19.93, allocations: 0.993 GB / 3.145 GB, free: 111.8 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat