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_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.8 MB / 211.1 MB, free: 8.754 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 264.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 44.51 MB / 308.6 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.4799, allocations: 98.38 MB / 407 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.4803, allocations: 87.95 kB / 407 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4272/0.9075, allocations: 40.96 MB / 448 MB, free: 77.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.9075, allocations: 0 / 448 MB, free: 77.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002421/0.9078, allocations: 51.88 kB / 448.1 MB, free: 77.21 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.009625/0.9174, allocations: 2.225 MB / 450.3 MB, free: 74.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.9175, allocations: 12.03 kB / 450.3 MB, free: 74.92 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.9186, allocations: 273.8 kB / 450.6 MB, free: 74.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.9201, allocations: 265.1 kB / 450.8 MB, free: 74.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.9247, allocations: 1.412 MB / 452.2 MB, free: 72.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.9249, allocations: 143.6 kB / 452.4 MB, free: 72.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000659/0.9255, allocations: 187.9 kB / 452.6 MB, free: 72.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006644/0.9322, allocations: 2.38 MB / 454.9 MB, free: 70.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-05/0.9323, allocations: 4 kB / 454.9 MB, free: 70.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.9327, allocations: 79.94 kB / 455 MB, free: 70.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.9328, allocations: 83.45 kB / 455.1 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006073/0.9389, allocations: 1.931 MB / 457 MB, free: 68.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.9581, allocations: 7.499 MB / 464.5 MB, free: 60.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.9612, allocations: 1.316 MB / 465.8 MB, free: 58.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/0.9616, allocations: 134 kB / 466 MB, free: 58.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.9617, allocations: 44.12 kB / 466 MB, free: 58.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 4.399e-06/0.9617, allocations: 0 / 466 MB, free: 58.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01578/0.9775, allocations: 5.067 MB / 471.1 MB, free: 53.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.9776, allocations: 72.36 kB / 471.2 MB, free: 53.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.98, allocations: 1.198 MB / 472.4 MB, free: 52.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.9803, allocations: 45.7 kB / 472.4 MB, free: 52.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/0.981, allocations: 0.897 MB / 473.3 MB, free: 51.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.9814, allocations: 358.8 kB / 473.6 MB, free: 50.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.9815, allocations: 24 kB / 473.7 MB, free: 50.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9816, allocations: 353.9 kB / 474 MB, free: 50.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.9833, allocations: 0.6506 MB / 474.7 MB, free: 49.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.9851, allocations: 0.9376 MB / 475.6 MB, free: 48.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.9871, allocations: 0.7798 MB / 476.4 MB, free: 48.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.9871, allocations: 4 kB / 476.4 MB, free: 48.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007234/0.9944, allocations: 2.484 MB / 478.9 MB, free: 45.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.9944, allocations: 8 kB / 478.9 MB, free: 45.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.9945, allocations: 8 kB / 478.9 MB, free: 45.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/0.9978, allocations: 0.7706 MB / 479.7 MB, free: 44.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.9996, allocations: 235.6 kB / 479.9 MB, free: 44.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/1.021, allocations: 8.882 MB / 488.8 MB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.024, allocations: 79.91 kB / 488.8 MB, free: 35.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/1.025, allocations: 48 kB / 488.9 MB, free: 35.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002322/1.027, allocations: 0.6301 MB / 489.5 MB, free: 34.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007608/1.028, allocations: 146.2 kB / 489.7 MB, free: 34.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/1.033, allocations: 1.944 MB / 491.6 MB, free: 32.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.033, allocations: 8 kB / 491.6 MB, free: 32.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/1.033, allocations: 4 kB / 491.6 MB, free: 32.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.033, allocations: 7.969 kB / 491.6 MB, free: 32.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/1.043, allocations: 4.04 MB / 495.7 MB, free: 28.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.043, allocations: 4 kB / 495.7 MB, free: 28.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.045, allocations: 191.7 kB / 495.9 MB, free: 28.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/1.047, allocations: 475 kB / 496.3 MB, free: 27.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.047, allocations: 35.94 kB / 496.4 MB, free: 27.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/1.055, allocations: 6.313 MB / 0.4909 GB, free: 20.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.055, allocations: 4.031 kB / 0.4909 GB, free: 20.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/1.062, allocations: 2.949 MB / 0.4938 GB, free: 17.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.063, allocations: 367.2 kB / 0.4941 GB, free: 17.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/1.063, allocations: 20 kB / 0.4941 GB, free: 17.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.065, allocations: 75.88 kB / 0.4942 GB, free: 17.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/1.065, allocations: 84.88 kB / 0.4943 GB, free: 17.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.065, allocations: 35.98 kB / 0.4943 GB, free: 17.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001824/1.067, allocations: 0.9191 MB / 0.4952 GB, free: 16.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.067, allocations: 0 / 0.4952 GB, free: 16.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002185/1.069, allocations: 475.9 kB / 0.4957 GB, free: 15.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (87): * Single equations (assignments): 83 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007311/1.077, allocations: 4.168 MB / 0.4998 GB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005303/1.082, allocations: 2.093 MB / 0.5018 GB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.082, allocations: 1.875 kB / 0.5018 GB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.085, allocations: 1.371 MB / 0.5031 GB, free: 8.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.088, allocations: 350.4 kB / 0.5035 GB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/1.123, allocations: 18.28 MB / 0.5213 GB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002494/1.126, allocations: 1.735 MB / 0.523 GB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001823/1.128, allocations: 316.1 kB / 0.5233 GB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/1.13, allocations: 0.6984 MB / 0.524 GB, free: 2.207 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/1.13, allocations: 0 / 0.524 GB, free: 2.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3767/1.506, allocations: 39.95 MB / 0.563 GB, free: 113.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.507, allocations: 248.9 kB / 0.5632 GB, free: 113.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.925/5.431, allocations: 0 / 0.5632 GB, free: 113.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat