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.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004818, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5408, allocations: 95.26 MB / 367.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5412, allocations: 95.75 kB / 368 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2135/0.7547, allocations: 49.02 MB / 417 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7548, allocations: 0 / 417 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000291/0.7551, allocations: 71.81 kB / 417.1 MB, free: 14.8 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.01038/0.7655, allocations: 2.725 MB / 419.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7655, allocations: 12.03 kB / 419.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.7671, allocations: 324.4 kB / 420.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005356/0.7725, allocations: 1.697 MB / 421.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.7728, allocations: 172.5 kB / 422 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/0.7734, allocations: 235.8 kB / 422.2 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009233/0.7827, allocations: 3.129 MB / 425.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-05/0.7828, allocations: 11.84 kB / 425.4 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/0.7832, allocations: 96 kB / 425.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.7834, allocations: 88.41 kB / 425.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/0.7916, allocations: 2.621 MB / 428.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2816/1.073, allocations: 9.871 MB / 438 MB, free: 77.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006356/1.08, allocations: 2.129 MB / 440.2 MB, free: 76.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/1.08, allocations: 144.5 kB / 440.3 MB, free: 76.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.08, allocations: 44.81 kB / 440.3 MB, free: 76.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 6.582e-06/1.08, allocations: 0 / 440.3 MB, free: 76.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03434/1.115, allocations: 8.067 MB / 448.4 MB, free: 75.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.115, allocations: 68 kB / 448.5 MB, free: 75.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/1.118, allocations: 1.618 MB / 450.1 MB, free: 75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000401/1.119, allocations: 48.7 kB / 450.1 MB, free: 74.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/1.12, allocations: 1.065 MB / 451.2 MB, free: 74.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007119/1.12, allocations: 494 kB / 451.7 MB, free: 74.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.121, allocations: 32.41 kB / 451.7 MB, free: 74.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/1.121, allocations: 366.6 kB / 452.1 MB, free: 74.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.123, allocations: 0.9136 MB / 453 MB, free: 74.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/1.126, allocations: 1.234 MB / 454.2 MB, free: 73.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/1.128, allocations: 1.063 MB / 455.3 MB, free: 73.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.128, allocations: 7.156 kB / 455.3 MB, free: 73.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008464/1.137, allocations: 3.029 MB / 458.3 MB, free: 73.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.137, allocations: 11.81 kB / 458.3 MB, free: 73.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.137, allocations: 9.938 kB / 458.3 MB, free: 73.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/1.14, allocations: 0.8425 MB / 459.2 MB, free: 73.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.143, allocations: 321.3 kB / 459.5 MB, free: 73.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/1.158, allocations: 9.341 MB / 468.8 MB, free: 67.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/1.161, allocations: 104.6 kB / 468.9 MB, free: 67.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.161, allocations: 57.5 kB / 469 MB, free: 67.52 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002235/1.163, allocations: 0.8098 MB / 469.8 MB, free: 67.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/1.164, allocations: 179.8 kB / 470 MB, free: 67.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007991/1.172, allocations: 2.894 MB / 472.9 MB, free: 65.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.172, allocations: 15.5 kB / 472.9 MB, free: 65.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/1.172, allocations: 3.938 kB / 472.9 MB, free: 65.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/1.172, allocations: 12.39 kB / 472.9 MB, free: 65.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/1.189, allocations: 5.673 MB / 478.6 MB, free: 63.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.189, allocations: 2.938 kB / 478.6 MB, free: 63.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.191, allocations: 210.8 kB / 478.8 MB, free: 63.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003825/1.194, allocations: 0.8957 MB / 479.7 MB, free: 63.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003129/1.195, allocations: 34.53 kB / 479.7 MB, free: 63.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/1.212, allocations: 10.9 MB / 490.6 MB, free: 55.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.212, allocations: 3.969 kB / 490.6 MB, free: 55.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.223, allocations: 4.237 MB / 494.9 MB, free: 54.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.224, allocations: 469.5 kB / 495.3 MB, free: 53.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/1.225, allocations: 38.48 kB / 495.4 MB, free: 53.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.226, allocations: 95.84 kB / 495.4 MB, free: 53.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/1.227, allocations: 132.4 kB / 495.6 MB, free: 53.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.227, allocations: 48.64 kB / 495.6 MB, free: 53.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002307/1.229, allocations: 1.113 MB / 496.7 MB, free: 53.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.229, allocations: 3.281 kB / 496.7 MB, free: 53.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003071/1.232, allocations: 0.5874 MB / 497.3 MB, free: 53.21 MB / 346.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007542/1.233, allocations: 322.3 kB / 497.6 MB, free: 53.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006966/1.24, allocations: 3.025 MB / 0.4889 GB, free: 51.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.24, allocations: 4 kB / 0.4889 GB, free: 51.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005305/1.246, allocations: 2.073 MB / 0.491 GB, free: 49.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.249, allocations: 486 kB / 0.4914 GB, free: 49.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.269, allocations: 6.055 MB / 0.4973 GB, free: 43.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003677/1.272, allocations: 2.066 MB / 0.4994 GB, free: 41.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003315/1.276, allocations: 400.1 kB / 0.4997 GB, free: 41.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.277, allocations: 110.5 kB / 0.4998 GB, free: 41.53 MB / 346.7 MB Notification: Performance of SimCode: time 2.254e-06/1.277, allocations: 0 / 0.4998 GB, free: 41.53 MB / 346.7 MB Notification: Performance of Templates: time 0.09736/1.374, allocations: 32.16 MB / 0.5313 GB, free: 13.13 MB / 346.7 MB