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.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.0894, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.05779/0.1472, allocations: 33.94 MB / 343 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0283/0.1756, allocations: 10.64 MB / 353.7 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007567/0.1832, allocations: 243.1 kB / 353.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009785/0.1931, allocations: 2.137 MB / 356 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01709/0.2102, allocations: 3.833 MB / 359.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009083/0.2193, allocations: 1.701 MB / 361.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02439/0.2437, allocations: 9.999 MB / 371.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3108/0.5546, allocations: 18.1 MB / 389.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009/0.5636, allocations: 4.359 MB / 394 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.5741, allocations: 5.048 MB / 399.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003632/0.5778, allocations: 0.7129 MB / 399.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006245/0.584, allocations: 1.05 MB / 400.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004279/0.5884, allocations: 2.251 MB / 403.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00445/0.5929, allocations: 2.405 MB / 405.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02574/0.6187, allocations: 20.14 MB / 425.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6187, allocations: 0 / 425.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6188, allocations: 0 / 425.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006786/0.6194, allocations: 0 / 425.6 MB, free: 12.63 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: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.05074/0.6702, allocations: 12.11 MB / 437.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6703, allocations: 8.031 kB / 437.8 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05322/0.7235, allocations: 6.068 MB / 443.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/0.7456, allocations: 6.879 MB / 450.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/0.7469, allocations: 0.8417 MB / 451.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005098/0.752, allocations: 1.109 MB / 452.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06032/0.8124, allocations: 17 MB / 469.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005976/0.813, allocations: 15.91 kB / 469.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004078/0.8171, allocations: 468.3 kB / 470.1 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001031/0.8182, allocations: 0.6115 MB / 470.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05188/0.8701, allocations: 15.52 MB / 486.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.678/1.548, allocations: 58.68 MB / 0.5322 GB, free: 115.5 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02987/1.578, allocations: 20.88 MB / 0.5526 GB, free: 99.16 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02533/1.603, allocations: 9.826 MB / 0.5622 GB, free: 97.95 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/1.604, allocations: 74.94 kB / 0.5622 GB, free: 97.9 MB / 426.8 MB Notification: Performance of pre-optimization done (n=332): time 7.334e-06/1.604, allocations: 0 / 0.5622 GB, free: 97.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=359): time 0.05181/1.655, allocations: 17.57 MB / 0.5794 GB, free: 91.38 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/1.655, allocations: 111.7 kB / 0.5795 GB, free: 91.29 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/1.666, allocations: 5.341 MB / 0.5847 GB, free: 89.31 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006468/1.667, allocations: 81.05 kB / 0.5848 GB, free: 89.24 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003739/1.67, allocations: 5.317 MB / 0.59 GB, free: 85.22 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.672, allocations: 1.258 MB / 0.5912 GB, free: 84.26 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006477/1.673, allocations: 139.6 kB / 0.5913 GB, free: 84.15 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003885/1.673, allocations: 0.5781 MB / 0.5919 GB, free: 83.73 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007226/1.68, allocations: 2.825 MB / 0.5947 GB, free: 82.68 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008989/1.689, allocations: 5.844 MB / 0.6004 GB, free: 77.36 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009593/1.699, allocations: 4.085 MB / 0.6044 GB, free: 75.09 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.699, allocations: 27.25 kB / 0.6044 GB, free: 75.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=882) (initialization): time 0.02609/1.725, allocations: 9.848 MB / 0.614 GB, free: 67.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/1.725, allocations: 48 kB / 0.614 GB, free: 67.75 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/1.726, allocations: 100 kB / 0.6141 GB, free: 67.65 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/1.729, allocations: 0.9494 MB / 0.6151 GB, free: 66.69 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/1.74, allocations: 1.604 MB / 0.6166 GB, free: 65.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/1.757, allocations: 9.956 MB / 0.6264 GB, free: 54.75 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008502/1.766, allocations: 450.9 kB / 0.6268 GB, free: 54.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.767, allocations: 360 kB / 0.6271 GB, free: 53.95 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 (830): * Single equations (assignments): 822 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(8,67.2%) 26,(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008756/1.776, allocations: 3.83 MB / 0.6309 GB, free: 50.11 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.777, allocations: 0.517 MB / 0.6314 GB, free: 49.59 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.793, allocations: 6.15 MB / 0.6374 GB, free: 43.36 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.152e-05/1.794, allocations: 19.92 kB / 0.6374 GB, free: 43.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.794, allocations: 0 / 0.6374 GB, free: 43.34 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/1.797, allocations: 1.053 MB / 0.6384 GB, free: 42.27 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.798, allocations: 60 kB / 0.6385 GB, free: 42.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004388/1.803, allocations: 211.8 kB / 0.6387 GB, free: 42 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007225/1.804, allocations: 274.8 kB / 0.639 GB, free: 41.73 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01765/1.821, allocations: 5.846 MB / 0.6447 GB, free: 35.94 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01683/1.838, allocations: 7.365 MB / 0.6519 GB, free: 28.52 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005059/1.843, allocations: 2.17 MB / 0.654 GB, free: 26.35 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.008661/1.852, allocations: 3.512 MB / 0.6574 GB, free: 22.86 MB / 426.8 MB Notification: Performance of Backend: time 1.372e-06/1.852, allocations: 0 / 0.6574 GB, free: 22.86 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01643/1.868, allocations: 5.693 MB / 0.663 GB, free: 17.18 MB / 426.8 MB Notification: Performance of SimCode: time 0.04795/1.916, allocations: 22.13 MB / 0.6846 GB, free: 10.98 MB / 442.8 MB Notification: Performance of Templates: time 0.5/2.416, allocations: 82.56 MB / 0.7652 GB, free: 96.68 MB / 442.8 MB