Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003357, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09154, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02265/0.1142, allocations: 13.51 MB / 322.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1273, allocations: 5.135 MB / 327.7 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.1298, allocations: 87.62 kB / 327.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.1333, allocations: 0.9289 MB / 328.7 MB, free: 12.62 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FundamentalWave.mo:4083:9-4083:107:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.005927/0.1393, allocations: 1.433 MB / 330.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.1424, allocations: 0.7114 MB / 330.9 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008183/0.1506, allocations: 3.424 MB / 334.3 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005062/0.1557, allocations: 2.688 MB / 337 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.1587, allocations: 1.533 MB / 338.5 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.1624, allocations: 1.887 MB / 340.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008124/0.1633, allocations: 252 kB / 340.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.1652, allocations: 431.8 kB / 341.1 MB, free: 204 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.1665, allocations: 0.9384 MB / 342 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.1679, allocations: 0.9018 MB / 342.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.1779, allocations: 6.513 MB / 349.4 MB, free: 7.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.178, allocations: 0 / 349.4 MB, free: 7.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.178, allocations: 0 / 349.4 MB, free: 7.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001666/0.1782, allocations: 0 / 349.4 MB, free: 7.816 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01728/0.1955, allocations: 4.559 MB / 354 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1955, allocations: 8.031 kB / 354 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008085/0.2036, allocations: 1.006 MB / 355 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008269/0.2119, allocations: 2.637 MB / 357.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.2123, allocations: 304 kB / 357.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.2133, allocations: 395.9 kB / 358.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.2276, allocations: 5.134 MB / 363.5 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.2278, allocations: 3.906 kB / 363.5 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006317/0.2284, allocations: 168 kB / 363.6 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.2287, allocations: 175.9 kB / 363.8 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.2418, allocations: 4.419 MB / 368.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2815/0.5233, allocations: 16.84 MB / 385 MB, free: 49.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009905/0.5333, allocations: 8.401 MB / 393.5 MB, free: 41.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009604/0.5429, allocations: 4.249 MB / 397.7 MB, free: 38.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.543, allocations: 51.75 kB / 397.8 MB, free: 38.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=166): time 4.599e-06/0.543, allocations: 0 / 397.8 MB, free: 38.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=170): time 0.01813/0.5611, allocations: 6.484 MB / 404.2 MB, free: 34.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.5612, allocations: 68.78 kB / 404.3 MB, free: 34.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/0.5652, allocations: 2.251 MB / 406.6 MB, free: 32.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.5655, allocations: 53.11 kB / 406.6 MB, free: 32.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.5667, allocations: 1.813 MB / 408.4 MB, free: 31.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/0.5672, allocations: 0.5798 MB / 409 MB, free: 30.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.5674, allocations: 43.38 kB / 409 MB, free: 30.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5675, allocations: 395.7 kB / 409.4 MB, free: 30.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.5697, allocations: 0.8757 MB / 410.3 MB, free: 29.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.5722, allocations: 1.579 MB / 411.9 MB, free: 28.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.5748, allocations: 1.154 MB / 413 MB, free: 27.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.5749, allocations: 12 kB / 413 MB, free: 27.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006604/0.5815, allocations: 2.949 MB / 416 MB, free: 24.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.5815, allocations: 16 kB / 416 MB, free: 24.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.5816, allocations: 24 kB / 416 MB, free: 24.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.582, allocations: 129.7 kB / 416.2 MB, free: 24.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/0.5858, allocations: 0.5616 MB / 416.7 MB, free: 24.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.5876, allocations: 1.827 MB / 418.6 MB, free: 22.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.5903, allocations: 123.9 kB / 418.7 MB, free: 21.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.5905, allocations: 95.83 kB / 418.8 MB, free: 21.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 273 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002438/0.5929, allocations: 1.192 MB / 420 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/0.5934, allocations: 245.1 kB / 420.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006051/0.5995, allocations: 2.574 MB / 422.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.5995, allocations: 7.969 kB / 422.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5995, allocations: 3.984 kB / 422.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.6008, allocations: 0.5058 MB / 423.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/0.6014, allocations: 32 kB / 423.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/0.6033, allocations: 95.92 kB / 423.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.6037, allocations: 129.8 kB / 423.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007575/0.6113, allocations: 2.456 MB / 426 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006754/0.6181, allocations: 3.212 MB / 429.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001897/0.62, allocations: 0.894 MB / 430.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002945/0.623, allocations: 1.524 MB / 431.6 MB, free: 8.895 MB / 314.7 MB Notification: Performance of Backend: time 5.41e-07/0.623, allocations: 0 / 431.6 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.6275, allocations: 1.781 MB / 433.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of SimCode: time 0.0166/0.6441, allocations: 8.738 MB / 442.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of Templates: time 0.1027/0.7468, allocations: 34.82 MB / 477 MB, free: 11.52 MB / 362.7 MB