Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.741/1.741, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 16 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08406, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.4799, allocations: 103.8 MB / 375.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.4803, allocations: 84.02 kB / 376 MB, free: 1.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5757/1.056, allocations: 82.22 MB / 458.2 MB, free: 75.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.038e-06/1.056, allocations: 3 kB / 458.2 MB, free: 75.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002907/1.056, allocations: 70.73 kB / 458.3 MB, free: 75.68 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: 655 * Number of variables: 655 Notification: Performance of Generate backend data structure: time 0.01141/1.068, allocations: 2.936 MB / 461.2 MB, free: 74.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.068, allocations: 9.688 kB / 461.2 MB, free: 74.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001593/1.069, allocations: 367.4 kB / 461.6 MB, free: 74.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/1.072, allocations: 426.6 kB / 462 MB, free: 74.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005736/1.077, allocations: 1.76 MB / 463.7 MB, free: 73.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/1.078, allocations: 192.4 kB / 463.9 MB, free: 73.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/1.079, allocations: 248.2 kB / 464.2 MB, free: 73.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009684/1.088, allocations: 3.224 MB / 467.4 MB, free: 73.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/1.089, allocations: 3.891 kB / 467.4 MB, free: 73.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/1.089, allocations: 111.1 kB / 467.5 MB, free: 73.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/1.089, allocations: 107.6 kB / 467.6 MB, free: 73.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008411/1.098, allocations: 2.573 MB / 470.2 MB, free: 73.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/1.125, allocations: 10.4 MB / 480.6 MB, free: 67.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/1.128, allocations: 1.797 MB / 482.4 MB, free: 66.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/1.129, allocations: 146 kB / 482.5 MB, free: 66.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.129, allocations: 43.41 kB / 482.6 MB, free: 66.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 3.937e-06/1.129, allocations: 0 / 482.6 MB, free: 66.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=141): time 0.03593/1.165, allocations: 8.83 MB / 491.4 MB, free: 63.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.165, allocations: 67.09 kB / 491.5 MB, free: 63.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/1.169, allocations: 1.589 MB / 493 MB, free: 62.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003614/1.169, allocations: 47.89 kB / 493.1 MB, free: 62.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009183/1.17, allocations: 1.24 MB / 494.3 MB, free: 61.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/1.171, allocations: 489.4 kB / 494.8 MB, free: 61.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.171, allocations: 35.12 kB / 494.8 MB, free: 61.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/1.171, allocations: 378.2 kB / 495.2 MB, free: 61.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/1.173, allocations: 0.8679 MB / 496.1 MB, free: 60.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/1.176, allocations: 1.355 MB / 497.4 MB, free: 59.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.179, allocations: 1.069 MB / 498.5 MB, free: 58.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.179, allocations: 7.938 kB / 498.5 MB, free: 58.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008613/1.188, allocations: 2.969 MB / 0.4897 GB, free: 56.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/1.188, allocations: 12 kB / 0.4897 GB, free: 56.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/1.188, allocations: 19.47 kB / 0.4898 GB, free: 56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/1.191, allocations: 0.5778 MB / 0.4903 GB, free: 55.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/1.194, allocations: 411.1 kB / 0.4907 GB, free: 55.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.205, allocations: 5.656 MB / 0.4962 GB, free: 50.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.208, allocations: 138.2 kB / 0.4964 GB, free: 50 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/1.208, allocations: 71.52 kB / 0.4964 GB, free: 49.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (185): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002248/1.21, allocations: 0.7947 MB / 0.4972 GB, free: 49.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/1.211, allocations: 205.5 kB / 0.4974 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007694/1.219, allocations: 2.633 MB / 0.5 GB, free: 46.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.219, allocations: 15.88 kB / 0.5 GB, free: 46.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.219, allocations: 8 kB / 0.5 GB, free: 46.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/1.219, allocations: 6.188 kB / 0.5 GB, free: 46.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.234, allocations: 5.472 MB / 0.5054 GB, free: 41.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.234, allocations: 16.05 kB / 0.5054 GB, free: 41.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.236, allocations: 231.7 kB / 0.5056 GB, free: 41.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/1.239, allocations: 0.6539 MB / 0.5062 GB, free: 40.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/1.24, allocations: 43.92 kB / 0.5063 GB, free: 40.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.253, allocations: 7.383 MB / 0.5135 GB, free: 32.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.253, allocations: 4 kB / 0.5135 GB, free: 32.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/1.263, allocations: 4.046 MB / 0.5174 GB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.265, allocations: 466.5 kB / 0.5179 GB, free: 28.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006444/1.266, allocations: 35.98 kB / 0.5179 GB, free: 28.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/1.268, allocations: 111.9 kB / 0.518 GB, free: 28.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004724/1.268, allocations: 113.1 kB / 0.5181 GB, free: 27.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.269, allocations: 43.92 kB / 0.5182 GB, free: 27.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00275/1.271, allocations: 1.224 MB / 0.5194 GB, free: 26.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.271, allocations: 3.938 kB / 0.5194 GB, free: 26.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003546/1.275, allocations: 0.621 MB / 0.52 GB, free: 26.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,75.0%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0114/1.286, allocations: 5.57 MB / 0.5254 GB, free: 20.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006714/1.293, allocations: 2.607 MB / 0.528 GB, free: 17.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.293, allocations: 0 / 0.528 GB, free: 17.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/1.298, allocations: 1.633 MB / 0.5296 GB, free: 16.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.301, allocations: 395.9 kB / 0.5299 GB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04687/1.348, allocations: 26.3 MB / 0.5556 GB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003132/1.351, allocations: 2.064 MB / 0.5576 GB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002593/1.354, allocations: 414.6 kB / 0.558 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/1.356, allocations: 0.9913 MB / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/1.356, allocations: 0 / 0.559 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3714/1.728, allocations: 49.93 MB / 0.6078 GB, free: 80.04 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.728, allocations: 232.1 kB / 0.608 GB, free: 79.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/5.854, allocations: 0 / 0.608 GB, free: 79.8 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat