Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 12 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08487, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4541, allocations: 85.19 MB / 357.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.4545, allocations: 87.08 kB / 357.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838/4.292, allocations: 0.7779 GB / 1.127 GB, free: 7.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.427e-06/4.292, allocations: 0 / 1.127 GB, free: 7.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001214/4.293, allocations: 383.6 kB / 1.127 GB, free: 6.898 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.8128/5.106, allocations: 15.69 MB / 1.143 GB, free: 16.72 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/5.106, allocations: 9.719 kB / 1.143 GB, free: 16.72 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01273/5.119, allocations: 2.461 MB / 1.145 GB, free: 16.56 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/5.134, allocations: 2.08 MB / 1.147 GB, free: 15.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0375/5.171, allocations: 10.59 MB / 1.157 GB, free: 14.54 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002531/5.174, allocations: 1.267 MB / 1.159 GB, free: 14.51 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008181/5.182, allocations: 1.625 MB / 1.16 GB, free: 14.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09453/5.277, allocations: 27.85 MB / 1.187 GB, free: 12.38 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001114/5.278, allocations: 23.34 kB / 1.187 GB, free: 12.38 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00727/5.285, allocations: 0.7016 MB / 1.188 GB, free: 12.38 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001279/5.286, allocations: 0.7473 MB / 1.189 GB, free: 12.38 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06431/5.351, allocations: 20.53 MB / 1.209 GB, free: 12.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2446/5.595, allocations: 86.14 MB / 1.293 GB, free: 12.72 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/5.629, allocations: 13.92 MB / 1.307 GB, free: 80 kB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8534/6.482, allocations: 230.5 kB / 1.307 GB, free: 65.55 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/6.482, allocations: 117 kB / 1.307 GB, free: 65.5 MB / 458.9 MB Notification: Performance of pre-optimization done (n=1122): time 1.943e-05/6.482, allocations: 0 / 1.307 GB, free: 65.5 MB / 458.9 MB Notification: Performance of matching and sorting (n=1122): time 0.4973/6.98, allocations: 84.57 MB / 1.39 GB, free: 47.73 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/6.98, allocations: 215 kB / 1.39 GB, free: 47.57 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007857/6.988, allocations: 2.975 MB / 1.393 GB, free: 47.36 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00246/6.99, allocations: 154 kB / 1.393 GB, free: 47.33 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.004161/6.994, allocations: 5.566 MB / 1.398 GB, free: 44.5 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.00646/7.001, allocations: 3.659 MB / 1.402 GB, free: 42.1 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/7.004, allocations: 155.4 kB / 1.402 GB, free: 42.1 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.001612/7.005, allocations: 0.7385 MB / 1.403 GB, free: 41.77 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02066/7.026, allocations: 7.723 MB / 1.41 GB, free: 41.75 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02279/7.049, allocations: 9.241 MB / 1.419 GB, free: 40.37 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0334/7.082, allocations: 9.266 MB / 1.428 GB, free: 37.92 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/7.083, allocations: 12 kB / 1.428 GB, free: 37.91 MB / 458.9 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.0999/7.182, allocations: 23.23 MB / 1.451 GB, free: 19.75 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/7.183, allocations: 24.06 kB / 1.451 GB, free: 19.73 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/7.183, allocations: 32 kB / 1.451 GB, free: 19.7 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05633/7.239, allocations: 11.02 MB / 1.462 GB, free: 10.26 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006851/7.246, allocations: 0.9027 MB / 1.463 GB, free: 9.574 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4756/7.722, allocations: 23.2 MB / 1.485 GB, free: 56.32 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00911/7.731, allocations: 0.8521 MB / 1.486 GB, free: 56.1 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/7.734, allocations: 358.3 kB / 1.487 GB, free: 56.1 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.02092/7.755, allocations: 6.775 MB / 1.493 GB, free: 55.96 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003886/7.759, allocations: 0.5626 MB / 1.494 GB, free: 55.9 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07414/7.833, allocations: 24.03 MB / 1.517 GB, free: 55.34 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05928/7.893, allocations: 21.48 MB / 1.538 GB, free: 54.96 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/7.893, allocations: 3.781 kB / 1.538 GB, free: 54.96 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001587/7.893, allocations: 38.25 kB / 1.538 GB, free: 54.96 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.164/8.057, allocations: 44.92 MB / 1.582 GB, free: 39.24 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002427/8.057, allocations: 1.969 kB / 1.582 GB, free: 39.24 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007396/8.065, allocations: 0.5706 MB / 1.583 GB, free: 39.22 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03827/8.103, allocations: 11.01 MB / 1.593 GB, free: 35.5 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002829/8.106, allocations: 224.7 kB / 1.594 GB, free: 35.32 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04652/8.153, allocations: 22.77 MB / 1.616 GB, free: 14.84 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/8.153, allocations: 5.312 kB / 1.616 GB, free: 14.84 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5068/8.659, allocations: 36.44 MB / 1.651 GB, free: 74.18 MB / 474.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009188/8.669, allocations: 2.431 MB / 1.654 GB, free: 73.97 MB / 474.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003981/8.673, allocations: 136.2 kB / 1.654 GB, free: 73.97 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007913/8.681, allocations: 261.8 kB / 1.654 GB, free: 73.97 MB / 474.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004441/8.685, allocations: 0.8749 MB / 1.655 GB, free: 73.96 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002852/8.688, allocations: 274.9 kB / 1.655 GB, free: 73.96 MB / 474.9 MB Notification: Performance of sorting global known variables: time 0.007233/8.695, allocations: 2.309 MB / 1.658 GB, free: 73.82 MB / 474.9 MB Notification: Performance of sort global known variables: time 9.72e-07/8.695, allocations: 0 / 1.658 GB, free: 73.82 MB / 474.9 MB Notification: Performance of remove unused functions: time 0.01849/8.714, allocations: 3.747 MB / 1.661 GB, free: 72.84 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.09555/8.81, allocations: 35.42 MB / 1.696 GB, free: 70.78 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.05537/8.865, allocations: 18.66 MB / 1.714 GB, free: 70.39 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/8.865, allocations: 0 / 1.714 GB, free: 70.39 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.03211/8.897, allocations: 9.895 MB / 1.724 GB, free: 70.13 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/8.911, allocations: 1.322 MB / 1.725 GB, free: 70.1 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.654/9.565, allocations: 118.9 MB / 1.841 GB, free: 70.23 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02896/9.594, allocations: 11.57 MB / 1.852 GB, free: 69.14 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.006723/9.601, allocations: 1.195 MB / 1.854 GB, free: 69.09 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01357/9.614, allocations: 5.383 MB / 1.859 GB, free: 69.09 MB / 474.9 MB Notification: Performance of SimCode: time 1.513e-06/9.614, allocations: 0 / 1.859 GB, free: 69.09 MB / 474.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.516/11.13, allocations: 308.6 MB / 2.16 GB, free: 47.66 MB / 0.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/11.13, allocations: 248.3 kB / 2.16 GB, free: 47.42 MB / 0.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.008/20.14, allocations: 0 / 2.16 GB, free: 47.42 MB / 0.495 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat