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.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_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.604/1.604, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08086, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4685, allocations: 103.7 MB / 375.9 MB, free: 2.281 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.4689, allocations: 88.58 kB / 376 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6849/1.154, allocations: 82.22 MB / 458.2 MB, free: 75.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.306e-06/1.154, allocations: 0 / 458.2 MB, free: 75.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000371/1.154, allocations: 72.83 kB / 458.2 MB, free: 75.4 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.01523/1.17, allocations: 2.929 MB / 461.2 MB, free: 74.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/1.17, allocations: 11.06 kB / 461.2 MB, free: 74.08 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002053/1.172, allocations: 373.7 kB / 461.5 MB, free: 74.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/1.176, allocations: 418.1 kB / 462 MB, free: 73.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/1.183, allocations: 1.762 MB / 463.7 MB, free: 73.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/1.184, allocations: 192.6 kB / 463.9 MB, free: 73.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/1.185, allocations: 247.8 kB / 464.1 MB, free: 73.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.198, allocations: 3.225 MB / 467.4 MB, free: 72.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/1.198, allocations: 7.375 kB / 467.4 MB, free: 72.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005595/1.199, allocations: 100.7 kB / 467.5 MB, free: 72.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/1.199, allocations: 107.9 kB / 467.6 MB, free: 72.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.211, allocations: 2.578 MB / 470.2 MB, free: 72.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0384/1.25, allocations: 10.41 MB / 480.6 MB, free: 67.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/1.255, allocations: 1.794 MB / 482.4 MB, free: 66.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005847/1.256, allocations: 139.8 kB / 482.5 MB, free: 66.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.256, allocations: 47.06 kB / 482.5 MB, free: 66.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=116): time 5.701e-06/1.256, allocations: 4 kB / 482.5 MB, free: 66.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=141): time 0.04613/1.302, allocations: 8.831 MB / 491.4 MB, free: 63.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.302, allocations: 64.28 kB / 491.4 MB, free: 63.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/1.305, allocations: 1.589 MB / 493 MB, free: 62.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003396/1.306, allocations: 48.39 kB / 493.1 MB, free: 62.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/1.306, allocations: 1.166 MB / 494.2 MB, free: 61.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/1.307, allocations: 494.6 kB / 494.7 MB, free: 61.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/1.307, allocations: 34.5 kB / 494.8 MB, free: 61.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/1.307, allocations: 378.6 kB / 495.1 MB, free: 60.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/1.31, allocations: 0.873 MB / 496 MB, free: 60.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/1.312, allocations: 1.35 MB / 497.4 MB, free: 59.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/1.315, allocations: 1.072 MB / 498.4 MB, free: 58.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.315, allocations: 4 kB / 498.4 MB, free: 58.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007469/1.322, allocations: 2.849 MB / 0.4895 GB, free: 56.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/1.322, allocations: 12.62 kB / 0.4895 GB, free: 56.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.313e-05/1.322, allocations: 19.94 kB / 0.4896 GB, free: 56.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/1.325, allocations: 0.581 MB / 0.4901 GB, free: 55.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/1.328, allocations: 403.1 kB / 0.4905 GB, free: 55.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.339, allocations: 5.668 MB / 0.496 GB, free: 50.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.341, allocations: 136.8 kB / 0.4962 GB, free: 50.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/1.342, allocations: 78.61 kB / 0.4963 GB, free: 50.36 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.002141/1.344, allocations: 0.7979 MB / 0.497 GB, free: 49.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/1.345, allocations: 201.6 kB / 0.4972 GB, free: 49.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007121/1.352, allocations: 2.635 MB / 0.4998 GB, free: 47.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.352, allocations: 12 kB / 0.4998 GB, free: 47.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.352, allocations: 8 kB / 0.4998 GB, free: 47.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/1.352, allocations: 7.031 kB / 0.4998 GB, free: 47.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.366, allocations: 5.456 MB / 0.5052 GB, free: 42.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/1.366, allocations: 4 kB / 0.5052 GB, free: 42.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.368, allocations: 248 kB / 0.5054 GB, free: 41.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/1.371, allocations: 0.6499 MB / 0.506 GB, free: 41.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003184/1.371, allocations: 39.92 kB / 0.5061 GB, free: 41.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.384, allocations: 7.387 MB / 0.5133 GB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.385, allocations: 4 kB / 0.5133 GB, free: 33.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.395, allocations: 4.05 MB / 0.5172 GB, free: 29.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.396, allocations: 458.6 kB / 0.5177 GB, free: 28.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000596/1.397, allocations: 32 kB / 0.5177 GB, free: 28.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.399, allocations: 119.5 kB / 0.5178 GB, free: 28.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004755/1.4, allocations: 117 kB / 0.5179 GB, free: 28.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.4, allocations: 43.98 kB / 0.518 GB, free: 28.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002628/1.402, allocations: 1.228 MB / 0.5192 GB, free: 27.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.402, allocations: 0 / 0.5192 GB, free: 27.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003232/1.406, allocations: 0.6132 MB / 0.5198 GB, free: 26.79 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.01131/1.417, allocations: 5.581 MB / 0.5252 GB, free: 21.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007193/1.424, allocations: 2.607 MB / 0.5278 GB, free: 18.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/1.424, allocations: 0 / 0.5278 GB, free: 18.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004461/1.429, allocations: 1.633 MB / 0.5294 GB, free: 16.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/1.432, allocations: 405.6 kB / 0.5297 GB, free: 16.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04758/1.48, allocations: 26.3 MB / 0.5554 GB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.484, allocations: 2.045 MB / 0.5574 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00322/1.487, allocations: 1.003 MB / 0.5584 GB, free: 1.945 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/1.487, allocations: 0 / 0.5584 GB, free: 1.945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.859/5.346, allocations: 68.49 MB / 0.6253 GB, free: 62.89 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat