Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 11.98 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5267/0.6538, allocations: 142.9 MB / 451.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/0.6543, allocations: 110.2 kB / 452 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079/1.733, allocations: 232.8 MB / 0.6688 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.733, allocations: 0 / 0.6688 GB, free: 15.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006016/1.734, allocations: 155.9 kB / 0.6689 GB, free: 15.74 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03383/1.767, allocations: 7.263 MB / 0.676 GB, free: 8.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.767, allocations: 8.031 kB / 0.676 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03125/1.799, allocations: 3.69 MB / 0.6796 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3411/2.14, allocations: 5.953 MB / 0.6855 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008393/2.141, allocations: 0.5266 MB / 0.686 GB, free: 34.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003494/2.144, allocations: 0.6869 MB / 0.6866 GB, free: 34.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/2.186, allocations: 11.45 MB / 0.6978 GB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000525/2.186, allocations: 13.55 kB / 0.6978 GB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003/2.189, allocations: 304.1 kB / 0.6981 GB, free: 33.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00088/2.19, allocations: 492 kB / 0.6986 GB, free: 33.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03367/2.224, allocations: 10.66 MB / 0.709 GB, free: 33.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09473/2.319, allocations: 38.32 MB / 0.7464 GB, free: 24.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02318/2.342, allocations: 18.47 MB / 0.7645 GB, free: 24.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03658/2.379, allocations: 13.7 MB / 0.7778 GB, free: 17.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.421e-05/2.379, allocations: 76.19 kB / 0.7779 GB, free: 17.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=404): time 8.886e-06/2.379, allocations: 0 / 0.7779 GB, free: 17.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=420): time 0.07973/2.459, allocations: 22.48 MB / 0.7999 GB, free: 7.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003018/2.462, allocations: 1.966 MB / 0.8018 GB, free: 5.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008458/2.47, allocations: 3.341 MB / 0.8051 GB, free: 4.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001123/2.471, allocations: 90.83 kB / 0.8051 GB, free: 4.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003714/2.475, allocations: 3.147 MB / 0.8082 GB, free: 2.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002619/2.478, allocations: 1.42 MB / 0.8096 GB, free: 1.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/2.479, allocations: 102.9 kB / 0.8097 GB, free: 1.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007621/2.48, allocations: 0.5246 MB / 0.8102 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.49, allocations: 3.036 MB / 0.8132 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/2.501, allocations: 4.9 MB / 0.818 GB, free: 12.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/2.511, allocations: 3.798 MB / 0.8217 GB, free: 10.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.551e-05/2.511, allocations: 20.41 kB / 0.8217 GB, free: 10.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.02787/2.539, allocations: 9.429 MB / 0.8309 GB, free: 4.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/2.539, allocations: 36 kB / 0.8309 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/2.539, allocations: 64 kB / 0.831 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008899/2.548, allocations: 2.486 MB / 0.8334 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00785/2.556, allocations: 1.063 MB / 0.8345 GB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/2.571, allocations: 5.523 MB / 0.8399 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/2.577, allocations: 322.6 kB / 0.8402 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/2.579, allocations: 272.5 kB / 0.8404 GB, free: 12.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (564): * Single equations (assignments): 542 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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: 0 * Non-linear torn systems: 2 {6 9,11 79} Notification: Performance of prepare postOptimizeDAE: time 0.00831/2.587, allocations: 2.504 MB / 0.8429 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/2.589, allocations: 410 kB / 0.8433 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02637/2.616, allocations: 7.916 MB / 0.851 GB, free: 2.895 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/2.616, allocations: 94.92 kB / 0.8511 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/2.616, allocations: 0 / 0.8511 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.075e-05/2.616, allocations: 21.94 kB / 0.8511 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3891/3.005, allocations: 19.94 MB / 0.8706 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.49e-05/3.005, allocations: 6.031 kB / 0.8706 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004756/3.01, allocations: 0.5444 MB / 0.8711 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009242/3.019, allocations: 2.445 MB / 0.8735 GB, free: 75.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/3.02, allocations: 99.98 kB / 0.8736 GB, free: 75.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/3.033, allocations: 7.194 MB / 0.8806 GB, free: 73.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002417/3.036, allocations: 1.901 MB / 0.8825 GB, free: 71.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02836/3.064, allocations: 11.8 MB / 0.894 GB, free: 71.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004035/3.068, allocations: 1.086 MB / 0.8951 GB, free: 70.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/3.07, allocations: 71.83 kB / 0.8951 GB, free: 70.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004847/3.075, allocations: 202.6 kB / 0.8953 GB, free: 70.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/3.077, allocations: 329.4 kB / 0.8956 GB, free: 70.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007164/3.078, allocations: 120.4 kB / 0.8958 GB, free: 70.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005933/3.083, allocations: 2.193 MB / 0.8979 GB, free: 70.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.72e-07/3.084, allocations: 0 / 0.8979 GB, free: 70.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008591/3.092, allocations: 1.377 MB / 0.8992 GB, free: 70.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 ($STATESET1.x) * 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 (286): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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: 0 * Non-linear torn systems: 3 {3 3,6 9,11 79} Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/3.094, allocations: 0.5896 MB / 0.8998 GB, free: 70.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01963/3.114, allocations: 7.349 MB / 0.907 GB, free: 70.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/3.114, allocations: 0 / 0.907 GB, free: 70.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01091/3.125, allocations: 3.65 MB / 0.9106 GB, free: 70.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007503/3.132, allocations: 0.8943 MB / 0.9114 GB, free: 70.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0419/3.174, allocations: 16.97 MB / 0.928 GB, free: 63.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009647/3.184, allocations: 4.67 MB / 0.9326 GB, free: 62.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007205/3.191, allocations: 1.178 MB / 0.9337 GB, free: 62.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/3.193, allocations: 295.9 kB / 0.934 GB, free: 62.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/3.193, allocations: 0 / 0.934 GB, free: 62.05 MB / 458.7 MB Notification: Performance of Templates: time 0.2004/3.394, allocations: 81.92 MB / 1.014 GB, free: 23.19 MB / 458.7 MB