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.AsynchronousInductionMachines.AIMC_Inverter.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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 12 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09539, allocations: 38.77 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.5945, allocations: 92.79 MB / 365.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.5949, allocations: 95.38 kB / 365.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1792/0.7741, allocations: 40.27 MB / 405.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.7741, allocations: 0 / 405.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002633/0.7744, allocations: 51.94 kB / 405.8 MB, free: 10.75 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008735/0.7832, allocations: 2.111 MB / 407.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7832, allocations: 11.97 kB / 407.9 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.7849, allocations: 257.2 kB / 408.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.7897, allocations: 1.277 MB / 409.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.7899, allocations: 135.6 kB / 409.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008007/0.7907, allocations: 191.8 kB / 409.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008201/0.799, allocations: 2.348 MB / 412.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.7991, allocations: 7.906 kB / 412.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.7994, allocations: 72.34 kB / 412.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.7996, allocations: 87.45 kB / 412.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007067/0.8067, allocations: 1.876 MB / 414.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/0.8282, allocations: 7.132 MB / 421.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.832, allocations: 1.326 MB / 422.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.8325, allocations: 134 kB / 422.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.8326, allocations: 47.56 kB / 422.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.777e-06/0.8326, allocations: 0 / 422.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.03145/0.8641, allocations: 7.196 MB / 430 MB, free: 1.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.8642, allocations: 60.41 kB / 430 MB, free: 1.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.867, allocations: 1.14 MB / 431.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.8674, allocations: 49.7 kB / 431.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2362/1.104, allocations: 0.8257 MB / 432 MB, free: 87.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/1.104, allocations: 396.4 kB / 432.4 MB, free: 87.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/1.105, allocations: 27.97 kB / 432.4 MB, free: 87.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/1.105, allocations: 360.2 kB / 432.8 MB, free: 87.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.107, allocations: 0.6838 MB / 433.5 MB, free: 87.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/1.11, allocations: 0.9888 MB / 434.5 MB, free: 87.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/1.113, allocations: 0.828 MB / 435.3 MB, free: 87.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/1.113, allocations: 5.047 kB / 435.3 MB, free: 87.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007983/1.121, allocations: 2.347 MB / 437.6 MB, free: 86.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.121, allocations: 12.55 kB / 437.7 MB, free: 86.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.121, allocations: 9.375 kB / 437.7 MB, free: 86.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/1.124, allocations: 0.6353 MB / 438.3 MB, free: 86.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.126, allocations: 279.8 kB / 438.6 MB, free: 86.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.139, allocations: 6.531 MB / 445.1 MB, free: 84.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.141, allocations: 88.17 kB / 445.2 MB, free: 84.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.141, allocations: 55.23 kB / 445.2 MB, free: 84.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (133): * Single equations (assignments): 129 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001798/1.143, allocations: 0.602 MB / 445.8 MB, free: 84.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/1.144, allocations: 145 kB / 446 MB, free: 84.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.151, allocations: 2.272 MB / 448.3 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/1.151, allocations: 11.56 kB / 448.3 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.151, allocations: 4.656 kB / 448.3 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/1.151, allocations: 10.83 kB / 448.3 MB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.163, allocations: 4.409 MB / 452.7 MB, free: 83.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.163, allocations: 7.859 kB / 452.7 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.164, allocations: 175.8 kB / 452.9 MB, free: 83.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00335/1.168, allocations: 0.7295 MB / 453.6 MB, free: 83.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/1.168, allocations: 33.77 kB / 453.6 MB, free: 83.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/1.182, allocations: 8.298 MB / 461.9 MB, free: 77.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.182, allocations: 6.797 kB / 461.9 MB, free: 77.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008201/1.19, allocations: 3.237 MB / 465.2 MB, free: 76.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.191, allocations: 359.8 kB / 465.5 MB, free: 76.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/1.192, allocations: 33.31 kB / 465.6 MB, free: 76.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.193, allocations: 79.08 kB / 465.6 MB, free: 76.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/1.194, allocations: 100.6 kB / 465.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.194, allocations: 38.69 kB / 465.8 MB, free: 76.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001557/1.195, allocations: 0.7856 MB / 466.6 MB, free: 75.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.195, allocations: 0 / 466.6 MB, free: 75.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002281/1.198, allocations: 471.1 kB / 467 MB, free: 75.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (83): * Single equations (assignments): 79 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007113/1.198, allocations: 303.7 kB / 467.3 MB, free: 75.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005667/1.204, allocations: 2.322 MB / 469.6 MB, free: 74.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.204, allocations: 0 / 469.6 MB, free: 74.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004056/1.208, allocations: 1.598 MB / 471.2 MB, free: 73.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/1.211, allocations: 342.9 kB / 471.6 MB, free: 73.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.221, allocations: 4.753 MB / 476.3 MB, free: 71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.223, allocations: 1.667 MB / 478 MB, free: 70.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/1.224, allocations: 100 kB / 478.1 MB, free: 70.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/1.224, allocations: 0 / 478.1 MB, free: 70.1 MB / 346.7 MB Notification: Performance of Templates: time 0.0944/1.318, allocations: 56.84 MB / 0.5224 GB, free: 24.68 MB / 346.7 MB