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.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 15.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.08961, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01838/0.108, allocations: 10.89 MB / 320 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.1192, allocations: 4.44 MB / 324.4 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.1213, allocations: 63.69 kB / 324.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.125, allocations: 0.8593 MB / 325.3 MB, free: 60 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.1303, allocations: 1.184 MB / 326.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.1331, allocations: 0.6742 MB / 327.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006422/0.1395, allocations: 2.835 MB / 330 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004017/0.1436, allocations: 2.206 MB / 332.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.146, allocations: 1.269 MB / 333.5 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.149, allocations: 1.545 MB / 335 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.1496, allocations: 204 kB / 335.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.1512, allocations: 399.7 kB / 335.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009842/0.1522, allocations: 0.7436 MB / 336.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.1532, allocations: 0.746 MB / 337.1 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008169/0.1614, allocations: 5.505 MB / 342.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1614, allocations: 0 / 342.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1615, allocations: 0 / 342.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.1616, allocations: 0 / 342.6 MB, free: 14.67 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01991/0.1815, allocations: 3.863 MB / 346.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1816, allocations: 8.031 kB / 346.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.1886, allocations: 0.8309 MB / 347.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006439/0.1951, allocations: 2.198 MB / 349.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.1954, allocations: 238.4 kB / 349.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009723/0.1964, allocations: 323.9 kB / 350.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.2087, allocations: 4.245 MB / 354.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.2089, allocations: 3.984 kB / 354.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/0.2094, allocations: 128 kB / 354.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002418/0.2096, allocations: 150.4 kB / 354.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.2205, allocations: 3.601 MB / 358.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03389/0.2544, allocations: 13.44 MB / 371.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2526/0.5071, allocations: 6.947 MB / 378.6 MB, free: 51.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008422/0.5156, allocations: 3.291 MB / 381.9 MB, free: 50.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/0.5178, allocations: 0.9203 MB / 382.8 MB, free: 49.81 MB / 314.7 MB Notification: Performance of pre-optimization done (n=143): time 4.919e-06/0.5178, allocations: 0 / 382.8 MB, free: 49.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=152): time 0.02071/0.5385, allocations: 6.906 MB / 389.7 MB, free: 46.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.5386, allocations: 224.1 kB / 389.9 MB, free: 46.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.5422, allocations: 1.829 MB / 391.7 MB, free: 45.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/0.5425, allocations: 53.42 kB / 391.8 MB, free: 45.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.5438, allocations: 1.453 MB / 393.2 MB, free: 44.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/0.5443, allocations: 0.5107 MB / 393.8 MB, free: 43.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.5445, allocations: 35.78 kB / 393.8 MB, free: 43.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5446, allocations: 379.9 kB / 394.2 MB, free: 43.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.5463, allocations: 0.7101 MB / 394.9 MB, free: 43.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.5483, allocations: 1.228 MB / 396.1 MB, free: 42.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.5504, allocations: 0.9706 MB / 397.1 MB, free: 41.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.5504, allocations: 6.156 kB / 397.1 MB, free: 41.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005771/0.5562, allocations: 2.567 MB / 399.6 MB, free: 40.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.5563, allocations: 46.08 kB / 399.7 MB, free: 40.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.5563, allocations: 15.72 kB / 399.7 MB, free: 40.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.5574, allocations: 290.3 kB / 400 MB, free: 40.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.5601, allocations: 401.5 kB / 400.4 MB, free: 40.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/0.5669, allocations: 5.922 MB / 406.3 MB, free: 35.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.5692, allocations: 102.5 kB / 406.4 MB, free: 35.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.5694, allocations: 74.73 kB / 406.5 MB, free: 35 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (205): * Single equations (assignments): 200 * 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: 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 {(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002226/0.5716, allocations: 1.049 MB / 407.5 MB, free: 34.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.5721, allocations: 194.7 kB / 407.7 MB, free: 34.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.5778, allocations: 2.377 MB / 410.1 MB, free: 32.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5779, allocations: 3.984 kB / 410.1 MB, free: 32.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.5779, allocations: 0.875 kB / 410.1 MB, free: 32.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.5791, allocations: 442.5 kB / 410.5 MB, free: 31.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/0.5796, allocations: 39.98 kB / 410.6 MB, free: 31.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.5811, allocations: 67.95 kB / 410.6 MB, free: 31.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/0.5814, allocations: 121.1 kB / 410.8 MB, free: 31.41 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007182/0.5886, allocations: 2.316 MB / 413.1 MB, free: 29.11 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005579/0.5943, allocations: 2.695 MB / 415.8 MB, free: 26.39 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001553/0.5959, allocations: 0.7676 MB / 416.5 MB, free: 25.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002373/0.5982, allocations: 1.252 MB / 417.8 MB, free: 24.38 MB / 314.7 MB Notification: Performance of Backend: time 6.91e-07/0.5983, allocations: 4 kB / 417.8 MB, free: 24.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005758/0.604, allocations: 2.274 MB / 420.1 MB, free: 22.15 MB / 314.7 MB Notification: Performance of SimCode: time 0.01444/0.6185, allocations: 7.66 MB / 427.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Templates: time 0.08609/0.7046, allocations: 31.09 MB / 458.8 MB, free: 15.31 MB / 346.7 MB