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_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.08975, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01907/0.1089, allocations: 11.08 MB / 320.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1194, allocations: 4.182 MB / 324.3 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.1215, allocations: 63.75 kB / 324.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.1247, allocations: 0.7618 MB / 325.2 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.1296, allocations: 1.153 MB / 326.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.1323, allocations: 0.6158 MB / 326.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00701/0.1393, allocations: 2.867 MB / 329.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/0.1438, allocations: 2.186 MB / 332 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.1468, allocations: 1.269 MB / 333.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.1502, allocations: 1.482 MB / 334.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009031/0.1512, allocations: 208 kB / 334.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.153, allocations: 371.7 kB / 335.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.1541, allocations: 0.7202 MB / 336 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.1555, allocations: 0.7421 MB / 336.8 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.1642, allocations: 5.43 MB / 342.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1643, allocations: 0 / 342.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1643, allocations: 0 / 342.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.1645, allocations: 0 / 342.2 MB, free: 15.09 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01475/0.1793, allocations: 3.731 MB / 345.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1793, allocations: 12.03 kB / 345.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006906/0.1863, allocations: 0.8232 MB / 346.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006471/0.1928, allocations: 2.17 MB / 348.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.1931, allocations: 246.4 kB / 349.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.1941, allocations: 323.9 kB / 349.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.2068, allocations: 4.22 MB / 353.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.207, allocations: 0 / 353.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005535/0.2075, allocations: 136 kB / 353.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.2078, allocations: 150.4 kB / 354 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.2191, allocations: 3.578 MB / 357.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/0.2584, allocations: 13.9 MB / 371.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.265/0.5235, allocations: 6.541 MB / 378 MB, free: 52.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008887/0.5324, allocations: 3.213 MB / 381.2 MB, free: 50.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.5325, allocations: 47 kB / 381.3 MB, free: 50.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=140): time 5.069e-06/0.5325, allocations: 3.562 kB / 381.3 MB, free: 50.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01835/0.5509, allocations: 5.996 MB / 387.3 MB, free: 47.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.551, allocations: 66.47 kB / 387.3 MB, free: 47.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.5545, allocations: 1.729 MB / 389.1 MB, free: 47.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002632/0.5548, allocations: 51.2 kB / 389.1 MB, free: 47.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.5559, allocations: 1.424 MB / 390.5 MB, free: 45.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/0.5566, allocations: 496.6 kB / 391 MB, free: 45.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.5567, allocations: 36 kB / 391 MB, free: 45.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5569, allocations: 373.3 kB / 391.4 MB, free: 45.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.5588, allocations: 0.6974 MB / 392.1 MB, free: 44.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.5611, allocations: 1.2 MB / 393.3 MB, free: 44.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.5633, allocations: 0.9238 MB / 394.2 MB, free: 43.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.5633, allocations: 3.969 kB / 394.2 MB, free: 43.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.006061/0.5694, allocations: 2.569 MB / 396.8 MB, free: 42.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.5695, allocations: 12.44 kB / 396.8 MB, free: 42.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/0.5695, allocations: 15.78 kB / 396.8 MB, free: 42.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.5709, allocations: 366.7 kB / 397.2 MB, free: 42.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.5736, allocations: 386.5 kB / 397.6 MB, free: 42.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008878/0.5825, allocations: 7.786 MB / 405.4 MB, free: 35.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.5846, allocations: 87.58 kB / 405.4 MB, free: 35.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.5848, allocations: 75.28 kB / 405.5 MB, free: 35.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * 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: 4 * 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: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002211/0.587, allocations: 1.004 MB / 406.5 MB, free: 34.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005078/0.5875, allocations: 190.7 kB / 406.7 MB, free: 34.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/0.5932, allocations: 2.343 MB / 409 MB, free: 33.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.5932, allocations: 3.984 kB / 409.1 MB, free: 33.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5933, allocations: 0 / 409.1 MB, free: 33.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.5945, allocations: 431.8 kB / 409.5 MB, free: 32.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/0.595, allocations: 31.88 kB / 409.5 MB, free: 32.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.5965, allocations: 78.7 kB / 409.6 MB, free: 32.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.5969, allocations: 125.1 kB / 409.7 MB, free: 32.49 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007454/0.6043, allocations: 2.313 MB / 412 MB, free: 30.19 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005182/0.6095, allocations: 2.579 MB / 414.6 MB, free: 27.59 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001461/0.611, allocations: 0.7168 MB / 415.3 MB, free: 26.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002225/0.6133, allocations: 1.172 MB / 416.5 MB, free: 25.71 MB / 314.7 MB Notification: Performance of Backend: time 7.61e-07/0.6133, allocations: 0 / 416.5 MB, free: 25.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004723/0.618, allocations: 1.978 MB / 418.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of SimCode: time 0.01463/0.6327, allocations: 7.724 MB / 426.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of Templates: time 0.0829/0.7157, allocations: 30.31 MB / 456.5 MB, free: 1.633 MB / 330.7 MB