Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.593/1.593, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 15.98 kB / 233.3 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0698/0.07017, allocations: 38.76 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.3894, allocations: 95.85 MB / 367.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.3897, allocations: 91.12 kB / 368 MB, free: 10.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1834/0.5731, allocations: 45.45 MB / 413.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.833e-06/0.5732, allocations: 0 / 413.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002109/0.5734, allocations: 55.94 kB / 413.5 MB, free: 2.379 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.007274/0.5807, allocations: 2.449 MB / 415.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5807, allocations: 8.031 kB / 415.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.5822, allocations: 300.7 kB / 416.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.5865, allocations: 1.494 MB / 417.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.5868, allocations: 156.2 kB / 417.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005208/0.5873, allocations: 212 kB / 418.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007294/0.5946, allocations: 2.772 MB / 420.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-05/0.5947, allocations: 11.83 kB / 420.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/0.5951, allocations: 92 kB / 420.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.5952, allocations: 96.17 kB / 421 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006531/0.6018, allocations: 2.222 MB / 423.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.238/0.8398, allocations: 8.547 MB / 431.8 MB, free: 81.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.8434, allocations: 1.719 MB / 433.5 MB, free: 80.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/0.8437, allocations: 134.3 kB / 433.6 MB, free: 80.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.8438, allocations: 42.62 kB / 433.7 MB, free: 80.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=102): time 5.05e-06/0.8438, allocations: 3.219 kB / 433.7 MB, free: 80.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.02083/0.8647, allocations: 7.113 MB / 440.8 MB, free: 79.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.8647, allocations: 65.28 kB / 440.9 MB, free: 79.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.8671, allocations: 1.184 MB / 442.1 MB, free: 79.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.8674, allocations: 45.8 kB / 442.1 MB, free: 79.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006413/0.868, allocations: 0.9832 MB / 443.1 MB, free: 78.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003995/0.8684, allocations: 426.8 kB / 443.5 MB, free: 78.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.8686, allocations: 29.84 kB / 443.5 MB, free: 78.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8687, allocations: 375.3 kB / 443.9 MB, free: 78.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.8704, allocations: 0.7416 MB / 444.6 MB, free: 78.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.8722, allocations: 1.114 MB / 445.8 MB, free: 77.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.8741, allocations: 0.9179 MB / 446.7 MB, free: 77.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.8742, allocations: 3.75 kB / 446.7 MB, free: 77.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.005642/0.8798, allocations: 2.481 MB / 449.2 MB, free: 77.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.8799, allocations: 9 kB / 449.2 MB, free: 77.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.8799, allocations: 11.78 kB / 449.2 MB, free: 77.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/0.8819, allocations: 0.5866 MB / 449.8 MB, free: 77.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.8837, allocations: 332.8 kB / 450.1 MB, free: 77.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/0.8931, allocations: 6.547 MB / 456.6 MB, free: 75.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.8948, allocations: 110.2 kB / 456.7 MB, free: 75.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.8949, allocations: 65.12 kB / 456.8 MB, free: 75.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (155): * 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): 1 * Torn equation systems: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001564/0.8965, allocations: 0.696 MB / 457.5 MB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.8969, allocations: 156.2 kB / 457.7 MB, free: 75.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/0.9021, allocations: 2.359 MB / 460 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.9022, allocations: 14.69 kB / 460 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.9022, allocations: 11.38 kB / 460 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.9023, allocations: 7.594 kB / 460 MB, free: 74.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.9129, allocations: 4.708 MB / 464.8 MB, free: 72.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.913, allocations: 6.531 kB / 464.8 MB, free: 72.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.9142, allocations: 210.1 kB / 465 MB, free: 72.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.9163, allocations: 0.6374 MB / 465.6 MB, free: 72.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.9165, allocations: 30.81 kB / 465.6 MB, free: 72.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.9274, allocations: 8.313 MB / 473.9 MB, free: 66.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.637e-06/0.9275, allocations: 3.719 kB / 473.9 MB, free: 66.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007087/0.9346, allocations: 3.482 MB / 477.4 MB, free: 65.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.9357, allocations: 387.4 kB / 477.8 MB, free: 64.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.936, allocations: 29.81 kB / 477.8 MB, free: 64.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.9374, allocations: 91.89 kB / 477.9 MB, free: 64.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.9378, allocations: 105.2 kB / 478 MB, free: 64.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.9379, allocations: 35.39 kB / 478.1 MB, free: 64.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.9395, allocations: 0.9042 MB / 479 MB, free: 64.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.9395, allocations: 3.906 kB / 479 MB, free: 64.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00231/0.9418, allocations: 0.515 MB / 479.5 MB, free: 64.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(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.0005663/0.9424, allocations: 293.5 kB / 479.8 MB, free: 64.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004763/0.9472, allocations: 2.355 MB / 482.1 MB, free: 63.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.9473, allocations: 10.69 kB / 482.1 MB, free: 63.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.9503, allocations: 1.513 MB / 483.7 MB, free: 62.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.9526, allocations: 367.7 kB / 484 MB, free: 62.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009025/0.9617, allocations: 5.374 MB / 489.4 MB, free: 59.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.9634, allocations: 1.831 MB / 491.2 MB, free: 58.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/0.964, allocations: 111.6 kB / 491.3 MB, free: 58.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.759e-06/0.964, allocations: 3.625 kB / 491.3 MB, free: 58.59 MB / 346.7 MB Notification: Performance of Templates: time 0.06568/1.03, allocations: 55.86 MB / 0.5344 GB, free: 10.18 MB / 346.7 MB