Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.4722, allocations: 107.4 MB / 416 MB, free: 1.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.4726, allocations: 87.95 kB / 416.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6041/1.077, allocations: 93.69 MB / 0.4978 GB, free: 16.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.077, allocations: 0 / 0.4978 GB, free: 16.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003963/1.077, allocations: 91.88 kB / 0.4979 GB, free: 16.22 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01482/1.092, allocations: 3.974 MB / 0.5018 GB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.092, allocations: 12.03 kB / 0.5018 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002167/1.094, allocations: 0.5018 MB / 0.5023 GB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.097, allocations: 0.4986 MB / 0.5028 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007783/1.105, allocations: 2.56 MB / 0.5053 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/1.105, allocations: 263.1 kB / 0.5055 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/1.106, allocations: 359.9 kB / 0.5059 GB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/1.123, allocations: 4.937 MB / 0.5107 GB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/1.123, allocations: 11.91 kB / 0.5107 GB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007587/1.124, allocations: 148 kB / 0.5108 GB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/1.124, allocations: 175.1 kB / 0.511 GB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/1.137, allocations: 4.061 MB / 0.515 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05538/1.193, allocations: 14.97 MB / 0.5296 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/1.204, allocations: 4.219 MB / 0.5337 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007221/1.204, allocations: 143 kB / 0.5338 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/1.204, allocations: 64.5 kB / 0.5339 GB, free: 10.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 7.484e-06/1.205, allocations: 0 / 0.5339 GB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.04274/1.247, allocations: 10.17 MB / 0.5438 GB, free: 112 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/1.247, allocations: 81.41 kB / 0.5439 GB, free: 16 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005914/1.253, allocations: 2.209 MB / 0.5461 GB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005453/1.254, allocations: 65.7 kB / 0.5461 GB, free: 13.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001887/1.256, allocations: 1.604 MB / 0.5477 GB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001325/1.257, allocations: 0.7354 MB / 0.5484 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/1.257, allocations: 44 kB / 0.5484 GB, free: 11.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002751/1.258, allocations: 398.5 kB / 0.5488 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.262, allocations: 1.308 MB / 0.5501 GB, free: 9.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/1.266, allocations: 1.741 MB / 0.5518 GB, free: 7.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/1.271, allocations: 1.552 MB / 0.5533 GB, free: 6.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.271, allocations: 7.938 kB / 0.5533 GB, free: 6.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01273/1.284, allocations: 4.052 MB / 0.5573 GB, free: 2.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.284, allocations: 14.5 kB / 0.5573 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/1.284, allocations: 12 kB / 0.5573 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/1.287, allocations: 0.7545 MB / 0.558 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/1.292, allocations: 0.5266 MB / 0.5586 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2906/1.582, allocations: 8.93 MB / 0.5673 GB, free: 68.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.586, allocations: 118.5 kB / 0.5674 GB, free: 68.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005361/1.586, allocations: 87.3 kB / 0.5675 GB, free: 68.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003462/1.59, allocations: 1.213 MB / 0.5687 GB, free: 68.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009736/1.591, allocations: 276.2 kB / 0.5689 GB, free: 68.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.601, allocations: 3.773 MB / 0.5726 GB, free: 68.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.601, allocations: 25.53 kB / 0.5726 GB, free: 68.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.602, allocations: 7.5 kB / 0.5726 GB, free: 68.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-05/1.602, allocations: 10.45 kB / 0.5726 GB, free: 68.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.623, allocations: 8.086 MB / 0.5805 GB, free: 67.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.623, allocations: 3.703 kB / 0.5806 GB, free: 67.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/1.626, allocations: 390.6 kB / 0.5809 GB, free: 67.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/1.63, allocations: 0.819 MB / 0.5817 GB, free: 67.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004764/1.631, allocations: 54.39 kB / 0.5818 GB, free: 67.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/1.646, allocations: 10.48 MB / 0.592 GB, free: 62.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.646, allocations: 5.656 kB / 0.592 GB, free: 62.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.659, allocations: 5.835 MB / 0.5977 GB, free: 61.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/1.662, allocations: 0.6406 MB / 0.5983 GB, free: 61.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008477/1.663, allocations: 55.91 kB / 0.5984 GB, free: 61.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/1.666, allocations: 121.9 kB / 0.5985 GB, free: 61.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006454/1.666, allocations: 190.5 kB / 0.5987 GB, free: 61.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/1.666, allocations: 64.89 kB / 0.5987 GB, free: 61.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003636/1.67, allocations: 1.705 MB / 0.6004 GB, free: 60.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.67, allocations: 0 / 0.6004 GB, free: 60.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004015/1.674, allocations: 0.8332 MB / 0.6012 GB, free: 60.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01456/1.689, allocations: 7.35 MB / 0.6084 GB, free: 57.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009332/1.698, allocations: 3.924 MB / 0.6122 GB, free: 55.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.698, allocations: 0 / 0.6122 GB, free: 55.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00618/1.704, allocations: 2.521 MB / 0.6147 GB, free: 54.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/1.71, allocations: 0.7471 MB / 0.6154 GB, free: 53.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/1.773, allocations: 31.97 MB / 0.6467 GB, free: 33.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003826/1.776, allocations: 2.839 MB / 0.6494 GB, free: 31.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003783/1.78, allocations: 0.6833 MB / 0.6501 GB, free: 30.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00342/1.784, allocations: 1.399 MB / 0.6515 GB, free: 29.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.964e-06/1.784, allocations: 0 / 0.6515 GB, free: 29.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4565/2.24, allocations: 74.81 MB / 0.7245 GB, free: 86.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/2.241, allocations: 244 kB / 0.7247 GB, free: 86.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.289/7.529, allocations: 0 / 0.7247 GB, free: 86.44 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat