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_DOL.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_DOL,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",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005402, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5773, allocations: 94.22 MB / 366.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.5777, allocations: 93.56 kB / 366.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.215/0.7928, allocations: 44.38 MB / 411.3 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.7928, allocations: 0 / 411.3 MB, free: 4.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000308/0.7931, allocations: 55.94 kB / 411.4 MB, free: 4.52 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.009535/0.8027, allocations: 2.428 MB / 413.8 MB, free: 2.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8028, allocations: 8.031 kB / 413.8 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.8045, allocations: 292.8 kB / 414.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.8098, allocations: 1.492 MB / 415.6 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.81, allocations: 167.9 kB / 415.7 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008524/0.8109, allocations: 200 kB / 415.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008802/0.8197, allocations: 2.682 MB / 418.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.8199, allocations: 4 kB / 418.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/0.8203, allocations: 84 kB / 418.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.8204, allocations: 83.89 kB / 418.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007778/0.8282, allocations: 2.209 MB / 421 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02522/0.8535, allocations: 8.387 MB / 429.4 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.8578, allocations: 1.825 MB / 431.2 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2615/1.119, allocations: 131.8 kB / 431.3 MB, free: 84.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/1.119, allocations: 44.52 kB / 431.4 MB, free: 84.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 3.697e-06/1.119, allocations: 0 / 431.4 MB, free: 84.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02588/1.145, allocations: 6.42 MB / 437.8 MB, free: 83.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/1.145, allocations: 67.66 kB / 437.9 MB, free: 83.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/1.15, allocations: 1.459 MB / 439.3 MB, free: 83.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003803/1.15, allocations: 46.55 kB / 439.4 MB, free: 83.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.151, allocations: 0.966 MB / 440.3 MB, free: 82.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007539/1.152, allocations: 429.1 kB / 440.8 MB, free: 82.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.152, allocations: 28.69 kB / 440.8 MB, free: 82.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/1.152, allocations: 357 kB / 441.1 MB, free: 82.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/1.155, allocations: 0.7502 MB / 441.9 MB, free: 82.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/1.157, allocations: 1.043 MB / 442.9 MB, free: 82.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/1.16, allocations: 0.892 MB / 443.8 MB, free: 82.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-05/1.16, allocations: 2.719 kB / 443.8 MB, free: 82.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007827/1.168, allocations: 2.367 MB / 446.2 MB, free: 81.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/1.168, allocations: 11.83 kB / 446.2 MB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/1.168, allocations: 7.688 kB / 446.2 MB, free: 81.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/1.17, allocations: 418.5 kB / 446.6 MB, free: 81.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/1.173, allocations: 336.4 kB / 446.9 MB, free: 81.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009197/1.182, allocations: 4.736 MB / 451.7 MB, free: 79.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.185, allocations: 90.72 kB / 451.8 MB, free: 79.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/1.185, allocations: 54.77 kB / 451.8 MB, free: 79.25 MB / 346.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.002882/1.188, allocations: 0.7046 MB / 452.5 MB, free: 79.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/1.189, allocations: 165.3 kB / 452.7 MB, free: 79.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008479/1.198, allocations: 2.196 MB / 454.9 MB, free: 78.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/1.198, allocations: 11.53 kB / 454.9 MB, free: 78.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.198, allocations: 3.969 kB / 454.9 MB, free: 78.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.056e-05/1.198, allocations: 11.5 kB / 454.9 MB, free: 78.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.216, allocations: 4.574 MB / 459.5 MB, free: 77.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.216, allocations: 3.75 kB / 459.5 MB, free: 77.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002683/1.219, allocations: 233.7 kB / 459.7 MB, free: 77.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/1.222, allocations: 467.7 kB / 460.2 MB, free: 77.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/1.222, allocations: 34.42 kB / 460.2 MB, free: 77.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/1.234, allocations: 6.306 MB / 466.5 MB, free: 72.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.234, allocations: 3.469 kB / 466.5 MB, free: 72.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.245, allocations: 3.26 MB / 469.8 MB, free: 71.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.247, allocations: 412.6 kB / 470.2 MB, free: 70.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007672/1.248, allocations: 27.31 kB / 470.2 MB, free: 70.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/1.25, allocations: 89.62 kB / 470.3 MB, free: 70.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/1.251, allocations: 92.88 kB / 470.4 MB, free: 70.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.251, allocations: 43.64 kB / 470.4 MB, free: 70.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003046/1.254, allocations: 1.004 MB / 471.4 MB, free: 70.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.254, allocations: 0 / 471.4 MB, free: 70.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003002/1.257, allocations: 492.2 kB / 471.9 MB, free: 70.28 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: 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.0007819/1.258, allocations: 303.9 kB / 472.2 MB, free: 70.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005393/1.263, allocations: 2.308 MB / 474.5 MB, free: 69.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.263, allocations: 3.031 kB / 474.5 MB, free: 69.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.267, allocations: 1.523 MB / 476 MB, free: 68.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/1.27, allocations: 413.2 kB / 476.4 MB, free: 68.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.282, allocations: 5.299 MB / 481.7 MB, free: 65.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.284, allocations: 1.859 MB / 483.6 MB, free: 64.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002126/1.286, allocations: 395.5 kB / 484 MB, free: 64.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/1.286, allocations: 106.5 kB / 484.1 MB, free: 64.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/1.286, allocations: 0 / 484.1 MB, free: 64.41 MB / 346.7 MB Notification: Performance of Templates: time 0.07284/1.359, allocations: 25.44 MB / 0.4976 GB, free: 49.18 MB / 346.7 MB