Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-05,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|aimcM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07925, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02698/0.1063, allocations: 15.18 MB / 287.8 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1197, allocations: 5.141 MB / 293 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.1229, allocations: 95.56 kB / 293 MB, free: 7.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004308/0.1272, allocations: 0.9481 MB / 294 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006824/0.1341, allocations: 1.503 MB / 295.5 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.1379, allocations: 0.7797 MB / 296.3 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2242/0.3621, allocations: 4.212 MB / 300.5 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007737/0.3699, allocations: 3.567 MB / 304.1 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.3743, allocations: 1.955 MB / 306 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006043/0.3804, allocations: 2.366 MB / 308.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.3826, allocations: 337.6 kB / 308.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/0.3866, allocations: 0.5011 MB / 309.2 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003348/0.39, allocations: 1.344 MB / 310.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002987/0.3931, allocations: 1.156 MB / 311.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.4047, allocations: 8.479 MB / 320.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4047, allocations: 1.031 kB / 320.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4047, allocations: 0 / 320.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003212/0.4051, allocations: 0 / 320.2 MB, free: 5.949 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.02008/0.4251, allocations: 5.513 MB / 325.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4252, allocations: 16.42 kB / 325.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005863/0.4311, allocations: 0.8592 MB / 326.6 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008953/0.4401, allocations: 3.191 MB / 329.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/0.4406, allocations: 372.4 kB / 330.1 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/0.4424, allocations: 0.496 MB / 330.6 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02165/0.4641, allocations: 6.635 MB / 337.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002201/0.4644, allocations: 11.84 kB / 337.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.4656, allocations: 208 kB / 337.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003329/0.466, allocations: 221.9 kB / 337.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.4846, allocations: 5.524 MB / 343.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05576/0.5404, allocations: 20.43 MB / 363.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008162/0.5486, allocations: 4.633 MB / 368.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.5492, allocations: 142.6 kB / 368.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.5493, allocations: 64.5 kB / 368.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=232): time 5.731e-06/0.5493, allocations: 0 / 368.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=273): time 0.04849/0.5978, allocations: 13.59 MB / 382.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.5979, allocations: 77.56 kB / 382.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/0.6044, allocations: 2.819 MB / 385 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005636/0.605, allocations: 73.7 kB / 385 MB, free: 10.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002459/0.6075, allocations: 2.207 MB / 387.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.609, allocations: 0.9266 MB / 388.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.6093, allocations: 60 kB / 388.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002904/0.6096, allocations: 432.3 kB / 388.7 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/0.6137, allocations: 1.501 MB / 390.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/0.6186, allocations: 2.212 MB / 392.4 MB, free: 3.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.6238, allocations: 1.871 MB / 394.2 MB, free: 1.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.6238, allocations: 4 kB / 394.2 MB, free: 1.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01483/0.6387, allocations: 5.086 MB / 399.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.6388, allocations: 16.58 kB / 399.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/0.6388, allocations: 20 kB / 399.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/0.6426, allocations: 0.935 MB / 400.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00517/0.6478, allocations: 0.6669 MB / 401 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.6701, allocations: 13 MB / 414 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/0.6739, allocations: 151.8 kB / 414.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004875/0.6744, allocations: 120 kB / 414.2 MB, free: 12.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (333): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 5 {(4,100.0%) 27,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004595/0.679, allocations: 1.625 MB / 415.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.6801, allocations: 328.1 kB / 416.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.6937, allocations: 4.854 MB / 421 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.515e-05/0.6938, allocations: 11.95 kB / 421 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.6938, allocations: 0 / 421 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/0.6965, allocations: 0.7429 MB / 421.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008459/0.6974, allocations: 56 kB / 421.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/0.7, allocations: 143.9 kB / 422 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/0.7007, allocations: 221.8 kB / 422.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01866/0.7194, allocations: 4.945 MB / 427.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01518/0.7346, allocations: 5.78 MB / 432.9 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004548/0.7392, allocations: 1.703 MB / 434.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005133/0.7444, allocations: 1.923 MB / 436.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of Backend: time 1.112e-06/0.7444, allocations: 0 / 436.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/0.7553, allocations: 3.637 MB / 440.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of SimCode: time 0.2478/1.003, allocations: 12.26 MB / 452.4 MB, free: 118.1 MB / 362.7 MB Notification: Performance of Templates: time 0.1313/1.135, allocations: 52.78 MB / 0.4934 GB, free: 77.43 MB / 362.7 MB