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.InductionMachines.IMC_Conveyor.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.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadModel(Modelica): time 1.823/1.823, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.0898, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04802/0.1379, allocations: 28.01 MB / 337.1 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02479/0.1627, allocations: 9.139 MB / 346.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006132/0.1689, allocations: 199.2 kB / 346.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008471/0.1774, allocations: 1.944 MB / 348.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01445/0.1919, allocations: 3.334 MB / 351.7 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007981/0.1999, allocations: 1.553 MB / 353.3 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02844/0.2284, allocations: 11.93 MB / 365.2 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3061/0.5345, allocations: 17.49 MB / 382.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00948/0.5441, allocations: 4.598 MB / 387.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.5551, allocations: 5.175 MB / 392.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003745/0.5589, allocations: 0.7352 MB / 393.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006431/0.5654, allocations: 1.051 MB / 394.2 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004558/0.57, allocations: 2.336 MB / 396.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004842/0.5749, allocations: 2.447 MB / 399 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02551/0.6004, allocations: 21.22 MB / 420.2 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6005, allocations: 0 / 420.2 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6005, allocations: 0 / 420.2 MB, free: 280 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007048/0.6012, allocations: 0 / 420.2 MB, free: 280 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.05379/0.655, allocations: 12.67 MB / 432.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.6551, allocations: 8.031 kB / 432.9 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0664/0.7215, allocations: 7.669 MB / 440.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/0.7434, allocations: 7.256 MB / 447.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009787/0.7444, allocations: 0.8243 MB / 448.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004774/0.7492, allocations: 1.086 MB / 449.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06308/0.8123, allocations: 17.7 MB / 467.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004351/0.8128, allocations: 19.47 kB / 467.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00367/0.8165, allocations: 460.4 kB / 467.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.8176, allocations: 0.6752 MB / 468.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05356/0.8712, allocations: 16.98 MB / 485.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.717/1.588, allocations: 56.9 MB / 0.5298 GB, free: 115.8 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04364/1.632, allocations: 42.37 MB / 0.5711 GB, free: 80.19 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03558/1.668, allocations: 13.35 MB / 0.5842 GB, free: 77.81 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007974/1.676, allocations: 3.133 MB / 0.5872 GB, free: 76.5 MB / 426.8 MB Notification: Performance of pre-optimization done (n=444): time 1.294e-05/1.676, allocations: 5.188 kB / 0.5872 GB, free: 76.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=462): time 0.07815/1.754, allocations: 23.22 MB / 0.6099 GB, free: 66.36 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.754, allocations: 417.1 kB / 0.6103 GB, free: 65.92 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009099/1.763, allocations: 4.608 MB / 0.6148 GB, free: 64.18 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008605/1.764, allocations: 105.3 kB / 0.6149 GB, free: 64.09 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004534/1.769, allocations: 4.867 MB / 0.6197 GB, free: 60.1 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/1.771, allocations: 1.588 MB / 0.6212 GB, free: 58.73 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006803/1.771, allocations: 131.6 kB / 0.6213 GB, free: 58.63 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004146/1.772, allocations: 0.5563 MB / 0.6219 GB, free: 58.14 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007138/1.779, allocations: 2.918 MB / 0.6247 GB, free: 56.55 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008833/1.788, allocations: 5.306 MB / 0.6299 GB, free: 51.52 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/1.797, allocations: 4.056 MB / 0.6339 GB, free: 47.45 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.528e-05/1.797, allocations: 20 kB / 0.6339 GB, free: 47.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=824) (initialization): time 0.02611/1.823, allocations: 9.985 MB / 0.6436 GB, free: 37.39 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.823, allocations: 65.88 kB / 0.6437 GB, free: 37.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.824, allocations: 80 kB / 0.6438 GB, free: 37.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006451/1.83, allocations: 1.502 MB / 0.6452 GB, free: 35.72 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/1.84, allocations: 1.423 MB / 0.6466 GB, free: 34.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0293/1.87, allocations: 16.66 MB / 0.6629 GB, free: 16.99 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007667/1.877, allocations: 379.5 kB / 0.6633 GB, free: 16.62 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.879, allocations: 304 kB / 0.6636 GB, free: 16.32 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (736): * Single equations (assignments): 729 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 4,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009134/1.888, allocations: 3.972 MB / 0.6674 GB, free: 12.34 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.889, allocations: 0.5034 MB / 0.6679 GB, free: 11.83 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/1.911, allocations: 8.077 MB / 0.6758 GB, free: 3.68 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.911, allocations: 23.91 kB / 0.6758 GB, free: 3.656 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.912, allocations: 3.953 kB / 0.6758 GB, free: 3.652 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/1.915, allocations: 1.17 MB / 0.677 GB, free: 2.457 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/1.917, allocations: 88 kB / 0.6771 GB, free: 2.371 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004741/1.922, allocations: 243.6 kB / 0.6773 GB, free: 2.137 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/1.923, allocations: 371.3 kB / 0.6777 GB, free: 1.773 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02732/1.95, allocations: 7.664 MB / 0.6851 GB, free: 10.18 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0246/1.975, allocations: 9.039 MB / 0.694 GB, free: 1.109 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2871/2.262, allocations: 2.815 MB / 0.6967 GB, free: 133.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00824/2.27, allocations: 3.11 MB / 0.6998 GB, free: 133.2 MB / 442.8 MB Notification: Performance of Backend: time 1.052e-06/2.27, allocations: 0 / 0.6998 GB, free: 133.2 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01993/2.29, allocations: 6.536 MB / 0.7061 GB, free: 131.4 MB / 442.8 MB Notification: Performance of SimCode: time 0.04951/2.34, allocations: 23.24 MB / 0.7288 GB, free: 118.7 MB / 442.8 MB Notification: Performance of Templates: time 0.2311/2.571, allocations: 92.04 MB / 0.8187 GB, free: 44.54 MB / 442.8 MB