Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 44.52 MB / 308.6 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.544/0.6575, allocations: 97.88 MB / 406.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6579, allocations: 85.64 kB / 406.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1639/0.8217, allocations: 40.19 MB / 446.7 MB, free: 7.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.8218, allocations: 4 kB / 446.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002545/0.8221, allocations: 43.94 kB / 446.7 MB, free: 7.031 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.008924/0.831, allocations: 2.146 MB / 448.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.8311, allocations: 8.031 kB / 448.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001345/0.8325, allocations: 272.2 kB / 449.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.834, allocations: 253.3 kB / 449.4 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.839, allocations: 1.335 MB / 450.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.8392, allocations: 136.9 kB / 450.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008277/0.8401, allocations: 178 kB / 451.1 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007416/0.8475, allocations: 2.348 MB / 453.4 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.677e-05/0.8477, allocations: 11.89 kB / 453.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.848, allocations: 72.31 kB / 453.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.8481, allocations: 87.27 kB / 453.6 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/0.8551, allocations: 1.885 MB / 455.5 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.8768, allocations: 7.163 MB / 462.6 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.8806, allocations: 1.332 MB / 464 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004624/0.8811, allocations: 130 kB / 464.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.8812, allocations: 43.56 kB / 464.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 5.951e-06/0.8812, allocations: 7.938 kB / 464.1 MB, free: 7.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.03016/0.9114, allocations: 7.187 MB / 471.3 MB, free: 184 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.9115, allocations: 68.41 kB / 471.4 MB, free: 104 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.9142, allocations: 1.036 MB / 472.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003117/0.9145, allocations: 45.7 kB / 472.5 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008092/0.9154, allocations: 0.836 MB / 473.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000691/0.9161, allocations: 398.3 kB / 473.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.9163, allocations: 31.94 kB / 473.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.9165, allocations: 366.7 kB / 474.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.9187, allocations: 0.678 MB / 474.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/0.9214, allocations: 0.9853 MB / 475.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.924, allocations: 0.8267 MB / 476.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.9241, allocations: 0 / 476.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007784/0.9319, allocations: 2.344 MB / 478.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.932, allocations: 16.03 kB / 478.9 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.932, allocations: 8 kB / 478.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.9349, allocations: 0.6449 MB / 479.6 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.9371, allocations: 275.6 kB / 479.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.9506, allocations: 6.518 MB / 486.4 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.9526, allocations: 95.83 kB / 486.5 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.9529, allocations: 51.98 kB / 486.5 MB, free: 0.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002028/0.955, allocations: 0.6067 MB / 487.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005492/0.9555, allocations: 134.4 kB / 487.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/0.9636, allocations: 2.275 MB / 489.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.9637, allocations: 8 kB / 489.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.9637, allocations: 8 kB / 489.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-05/0.9638, allocations: 7.969 kB / 489.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.9782, allocations: 4.434 MB / 494 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.9783, allocations: 4.156 kB / 494 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.9799, allocations: 179.8 kB / 494.2 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/0.9835, allocations: 0.7263 MB / 494.9 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/0.9838, allocations: 35.97 kB / 494.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1, allocations: 8.311 MB / 0.4914 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1, allocations: 7.938 kB / 0.4914 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009807/1.01, allocations: 3.363 MB / 0.4947 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.011, allocations: 359.3 kB / 0.4951 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/1.012, allocations: 27.98 kB / 0.4951 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.013, allocations: 91.8 kB / 0.4952 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/1.014, allocations: 84.88 kB / 0.4953 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.014, allocations: 35.98 kB / 0.4953 GB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00193/1.016, allocations: 0.8028 MB / 0.4961 GB, free: 10.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.016, allocations: 4 kB / 0.4961 GB, free: 10.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002549/1.018, allocations: 483.9 kB / 0.4966 GB, free: 9.875 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * 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 (83): * Single equations (assignments): 79 * 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: 3 * 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: 3 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01069/1.029, allocations: 4.718 MB / 0.5012 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006667/1.036, allocations: 2.318 MB / 0.5034 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.036, allocations: 4 kB / 0.5034 GB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005054/1.041, allocations: 1.593 MB / 0.505 GB, free: 1.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/1.044, allocations: 348.2 kB / 0.5053 GB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3115/1.356, allocations: 17.84 MB / 0.5227 GB, free: 116 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/1.358, allocations: 1.671 MB / 0.5244 GB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.36, allocations: 0.6887 MB / 0.525 GB, free: 115.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/1.36, allocations: 0 / 0.525 GB, free: 115.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.567/4.927, allocations: 67.08 MB / 0.5905 GB, free: 84.09 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat