Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.684/1.684, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 8 kB / 233.3 MB, free: 2.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08685, allocations: 38.78 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.4739, allocations: 92.8 MB / 364.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4743, allocations: 86.77 kB / 365 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1927/0.667, allocations: 40.27 MB / 405.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.6671, allocations: 0 / 405.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002044/0.6673, allocations: 55.92 kB / 405.3 MB, free: 10.46 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008314/0.6756, allocations: 2.119 MB / 407.4 MB, free: 8.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.6757, allocations: 8.031 kB / 407.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.6771, allocations: 277.7 kB / 407.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.6783, allocations: 253.2 kB / 408 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.6827, allocations: 1.285 MB / 409.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.6829, allocations: 135.5 kB / 409.4 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007429/0.6837, allocations: 180 kB / 409.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/0.6911, allocations: 2.336 MB / 411.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-05/0.6913, allocations: 12.25 kB / 411.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.6916, allocations: 75.95 kB / 412 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.6918, allocations: 79.5 kB / 412.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007179/0.6989, allocations: 1.88 MB / 413.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02166/0.7207, allocations: 7.132 MB / 421.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.7243, allocations: 1.322 MB / 422.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.7247, allocations: 138 kB / 422.5 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.7248, allocations: 47.56 kB / 422.6 MB, free: 8.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.777e-06/0.7248, allocations: 0 / 422.6 MB, free: 8.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02953/0.7544, allocations: 7.192 MB / 429.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.7545, allocations: 72.33 kB / 429.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.7569, allocations: 1.013 MB / 430.9 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.7572, allocations: 41.7 kB / 430.9 MB, free: 228 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2325/0.9897, allocations: 0.8358 MB / 431.7 MB, free: 87.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006635/0.9904, allocations: 393.4 kB / 432.1 MB, free: 86.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.9906, allocations: 25.83 kB / 432.1 MB, free: 86.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9907, allocations: 363.4 kB / 432.5 MB, free: 86.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.9928, allocations: 0.6776 MB / 433.2 MB, free: 86.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.9953, allocations: 0.9813 MB / 434.2 MB, free: 86.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.9978, allocations: 0.8311 MB / 435 MB, free: 86.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.9979, allocations: 5.734 kB / 435 MB, free: 86.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007298/1.005, allocations: 2.346 MB / 437.3 MB, free: 86.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/1.005, allocations: 12.55 kB / 437.3 MB, free: 86.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/1.005, allocations: 13.12 kB / 437.4 MB, free: 86.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.008, allocations: 0.6297 MB / 438 MB, free: 86.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/1.01, allocations: 279.6 kB / 438.3 MB, free: 86.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.023, allocations: 6.531 MB / 444.8 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.024, allocations: 94.02 kB / 444.9 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/1.025, allocations: 49.78 kB / 444.9 MB, free: 83.49 MB / 346.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.001723/1.026, allocations: 0.599 MB / 445.5 MB, free: 83.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/1.027, allocations: 140.6 kB / 445.7 MB, free: 83.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006602/1.034, allocations: 2.277 MB / 447.9 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.034, allocations: 11.81 kB / 448 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.034, allocations: 10.16 kB / 448 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/1.034, allocations: 11.3 kB / 448 MB, free: 83.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.045, allocations: 4.408 MB / 452.4 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.045, allocations: 3.953 kB / 452.4 MB, free: 82.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.047, allocations: 178 kB / 452.6 MB, free: 82.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/1.05, allocations: 0.7292 MB / 453.3 MB, free: 82.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/1.05, allocations: 32.55 kB / 453.3 MB, free: 82.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/1.063, allocations: 8.306 MB / 461.6 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.063, allocations: 6.75 kB / 461.6 MB, free: 77.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/1.072, allocations: 3.355 MB / 465 MB, free: 75.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.073, allocations: 358.5 kB / 465.3 MB, free: 75.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/1.073, allocations: 25.97 kB / 465.4 MB, free: 75.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.074, allocations: 86.92 kB / 465.5 MB, free: 75.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.075, allocations: 97.2 kB / 465.5 MB, free: 75.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.075, allocations: 34.81 kB / 465.6 MB, free: 75.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001588/1.077, allocations: 0.7815 MB / 466.4 MB, free: 74.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.82e-07/1.077, allocations: 0 / 466.4 MB, free: 74.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002422/1.079, allocations: 479.2 kB / 466.8 MB, free: 74.92 MB / 346.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.009058/1.088, allocations: 4.73 MB / 471.6 MB, free: 72.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005898/1.094, allocations: 2.305 MB / 473.9 MB, free: 71.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.094, allocations: 7.078 kB / 473.9 MB, free: 71.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003964/1.098, allocations: 1.595 MB / 475.5 MB, free: 70.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.101, allocations: 340.8 kB / 475.8 MB, free: 70.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/1.131, allocations: 17.72 MB / 493.5 MB, free: 58.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.132, allocations: 1.662 MB / 495.2 MB, free: 57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.134, allocations: 0.6746 MB / 495.9 MB, free: 56.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/1.134, allocations: 0 / 495.9 MB, free: 56.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.463/4.597, allocations: 66.48 MB / 0.5492 GB, free: 11.45 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat