Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.0947, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5241, allocations: 99.43 MB / 408 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5245, allocations: 88.86 kB / 408.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1805/0.705, allocations: 44.46 MB / 452.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7051, allocations: 0 / 452.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002854/0.7054, allocations: 55.94 kB / 452.6 MB, free: 1.879 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01002/0.7154, allocations: 2.441 MB / 455 MB, free: 15.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.7155, allocations: 12.03 kB / 455 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001384/0.7169, allocations: 295.9 kB / 455.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.7187, allocations: 292.8 kB / 455.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005593/0.7243, allocations: 1.557 MB / 457.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.7246, allocations: 156.7 kB / 457.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009122/0.7256, allocations: 197.4 kB / 457.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009551/0.7351, allocations: 2.705 MB / 460.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.7353, allocations: 11.89 kB / 460.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005217/0.7358, allocations: 84 kB / 460.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.736, allocations: 91.94 kB / 460.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008059/0.7441, allocations: 2.225 MB / 462.6 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02767/0.7718, allocations: 8.454 MB / 471.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.7782, allocations: 1.817 MB / 472.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.7788, allocations: 130.1 kB / 473 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.7789, allocations: 47.55 kB / 473.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 5.561e-06/0.779, allocations: 8 kB / 473.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.03392/0.8129, allocations: 6.431 MB / 479.5 MB, free: 7.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.813, allocations: 64.41 kB / 479.6 MB, free: 7.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.8177, allocations: 1.318 MB / 480.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003949/0.8181, allocations: 53.64 kB / 480.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.8196, allocations: 0.9336 MB / 481.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009462/0.8205, allocations: 421.8 kB / 482.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.8208, allocations: 32 kB / 482.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002812/0.8211, allocations: 362.8 kB / 482.7 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.8243, allocations: 0.7573 MB / 483.4 MB, free: 3.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003605/0.8279, allocations: 1.042 MB / 484.5 MB, free: 2.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.8316, allocations: 0.8848 MB / 485.4 MB, free: 1.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/0.8316, allocations: 4 kB / 485.4 MB, free: 1.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.008627/0.8403, allocations: 2.26 MB / 487.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.8404, allocations: 8 kB / 487.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.8404, allocations: 16.23 kB / 487.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.8422, allocations: 411.1 kB / 488 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.845, allocations: 339.5 kB / 488.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008387/0.8534, allocations: 4.736 MB / 493.1 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.8557, allocations: 95.92 kB / 493.2 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/0.8561, allocations: 55.98 kB / 493.3 MB, free: 9.543 MB / 378.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002353/0.8584, allocations: 0.7159 MB / 494 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006517/0.8591, allocations: 162 kB / 494.1 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007031/0.8662, allocations: 2.2 MB / 496.3 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.8662, allocations: 12 kB / 496.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.8663, allocations: 4 kB / 496.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/0.8663, allocations: 7.984 kB / 496.4 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.8812, allocations: 4.587 MB / 0.4892 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.8813, allocations: 4 kB / 0.4892 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/0.8835, allocations: 239.6 kB / 0.4894 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.8858, allocations: 466.9 kB / 0.4899 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/0.8862, allocations: 31.98 kB / 0.4899 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.8967, allocations: 6.306 MB / 0.4961 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.8968, allocations: 0 / 0.4961 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00948/0.9062, allocations: 3.397 MB / 0.4994 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/0.9078, allocations: 403 kB / 0.4998 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/0.9083, allocations: 27.98 kB / 0.4998 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.91, allocations: 87.88 kB / 0.4999 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/0.9105, allocations: 104.8 kB / 0.5 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.9107, allocations: 39.92 kB / 0.5 GB, free: 6.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002757/0.9135, allocations: 1.016 MB / 0.501 GB, free: 5.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.9135, allocations: 7.938 kB / 0.501 GB, free: 5.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002824/0.9163, allocations: 492 kB / 0.5015 GB, free: 4.578 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.01054/0.9269, allocations: 4.742 MB / 0.5061 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006253/0.9332, allocations: 2.306 MB / 0.5084 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.9333, allocations: 4.062 kB / 0.5084 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.9375, allocations: 1.515 MB / 0.5099 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.941, allocations: 426.1 kB / 0.5103 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3054/1.246, allocations: 19.37 MB / 0.5292 GB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/1.249, allocations: 1.84 MB / 0.531 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002578/1.252, allocations: 0.793 MB / 0.5317 GB, free: 109.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/1.252, allocations: 2.938 kB / 0.5317 GB, free: 109.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.86/5.112, allocations: 78.62 MB / 0.6085 GB, free: 65.64 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat