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.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005117, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3407, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.8064, allocations: 109.1 MB / 417.7 MB, free: 47.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/0.8068, allocations: 94.3 kB / 417.8 MB, free: 47.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3168/1.124, allocations: 82.7 MB / 0.4887 GB, free: 16.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.124, allocations: 0 / 0.4887 GB, free: 16.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002319/1.124, allocations: 63.94 kB / 0.4888 GB, free: 16.03 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.01075/1.135, allocations: 2.973 MB / 0.4917 GB, free: 12.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.135, allocations: 8.031 kB / 0.4917 GB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001397/1.136, allocations: 362.6 kB / 0.492 GB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/1.138, allocations: 416.1 kB / 0.4924 GB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/1.144, allocations: 1.846 MB / 0.4942 GB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/1.144, allocations: 189 kB / 0.4944 GB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006946/1.145, allocations: 251.9 kB / 0.4947 GB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008752/1.154, allocations: 3.218 MB / 0.4978 GB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/1.154, allocations: 4 kB / 0.4978 GB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/1.154, allocations: 104 kB / 0.4979 GB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/1.154, allocations: 104.9 kB / 0.498 GB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007555/1.162, allocations: 2.573 MB / 0.5005 GB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02848/1.191, allocations: 10.43 MB / 0.5107 GB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/1.195, allocations: 1.805 MB / 0.5125 GB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/1.196, allocations: 223.1 kB / 0.5127 GB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.196, allocations: 43.56 kB / 0.5127 GB, free: 6.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=117): time 4.789e-06/1.196, allocations: 0 / 0.5127 GB, free: 6.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=142): time 0.03923/1.235, allocations: 8.838 MB / 0.5214 GB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/1.235, allocations: 80.67 kB / 0.5214 GB, free: 13.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004331/1.239, allocations: 1.637 MB / 0.523 GB, free: 12.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/1.24, allocations: 49.7 kB / 0.5231 GB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/1.241, allocations: 1.237 MB / 0.5243 GB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008454/1.242, allocations: 496.8 kB / 0.5248 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.242, allocations: 36 kB / 0.5248 GB, free: 10.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/1.243, allocations: 369.8 kB / 0.5251 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/1.245, allocations: 0.8784 MB / 0.526 GB, free: 8.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/1.248, allocations: 1.357 MB / 0.5273 GB, free: 7.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/1.252, allocations: 1.076 MB / 0.5284 GB, free: 6.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/1.252, allocations: 4 kB / 0.5284 GB, free: 6.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009703/1.261, allocations: 2.976 MB / 0.5313 GB, free: 3.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/1.262, allocations: 12 kB / 0.5313 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-05/1.262, allocations: 19.98 kB / 0.5313 GB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/1.264, allocations: 0.5875 MB / 0.5319 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/1.268, allocations: 399.4 kB / 0.5323 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/1.281, allocations: 5.688 MB / 0.5378 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/1.284, allocations: 139.8 kB / 0.538 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/1.284, allocations: 72 kB / 0.538 GB, free: 12.23 MB / 394.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 (186): * Single equations (assignments): 182 * 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.002637/1.287, allocations: 0.7978 MB / 0.5388 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008394/1.288, allocations: 193.7 kB / 0.539 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008883/1.297, allocations: 2.642 MB / 0.5416 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.297, allocations: 16 kB / 0.5416 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.297, allocations: 11.95 kB / 0.5416 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/1.297, allocations: 7.969 kB / 0.5416 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/1.314, allocations: 5.485 MB / 0.547 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/1.315, allocations: 4 kB / 0.547 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/1.317, allocations: 247.6 kB / 0.5472 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/1.32, allocations: 0.6497 MB / 0.5478 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/1.321, allocations: 39.97 kB / 0.5479 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/1.336, allocations: 7.39 MB / 0.5551 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.336, allocations: 3.938 kB / 0.5551 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.348, allocations: 4.062 MB / 0.5591 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.35, allocations: 466.6 kB / 0.5595 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006073/1.35, allocations: 31.98 kB / 0.5595 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.353, allocations: 119.8 kB / 0.5597 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004377/1.353, allocations: 113.1 kB / 0.5598 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.353, allocations: 44.55 kB / 0.5598 GB, free: 5.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003223/1.357, allocations: 1.263 MB / 0.561 GB, free: 4.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.357, allocations: 0 / 0.561 GB, free: 4.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004701/1.361, allocations: 0.6405 MB / 0.5617 GB, free: 3.441 MB / 410.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 (109): * Single equations (assignments): 105 * 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,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3081/1.67, allocations: 5.59 MB / 0.5671 GB, free: 99.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007483/1.677, allocations: 2.617 MB / 0.5697 GB, free: 98.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.677, allocations: 0 / 0.5697 GB, free: 98.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004827/1.682, allocations: 1.626 MB / 0.5713 GB, free: 98.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/1.686, allocations: 407.1 kB / 0.5717 GB, free: 98.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04498/1.731, allocations: 26.58 MB / 0.5976 GB, free: 82.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/1.733, allocations: 2.067 MB / 0.5996 GB, free: 82.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002366/1.735, allocations: 417.1 kB / 0.6 GB, free: 82.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.737, allocations: 0.992 MB / 0.601 GB, free: 82.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/1.738, allocations: 0 / 0.601 GB, free: 82.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/1.9, allocations: 51.19 MB / 0.651 GB, free: 63.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/1.9, allocations: 232.8 kB / 0.6512 GB, free: 62.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.336/6.236, allocations: 3.938 kB / 0.6512 GB, free: 62.96 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat