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_LoadDump.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_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08919, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump): time 0.02247/0.1117, allocations: 13.91 MB / 323 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.125, allocations: 5.427 MB / 328.4 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.1276, allocations: 87.62 kB / 328.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003595/0.1312, allocations: 0.9366 MB / 329.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006135/0.1374, allocations: 1.499 MB / 330.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.1409, allocations: 0.8225 MB / 331.8 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008389/0.1493, allocations: 3.62 MB / 335.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00502/0.1543, allocations: 2.722 MB / 338.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.1575, allocations: 1.639 MB / 339.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.1614, allocations: 1.972 MB / 341.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008882/0.1623, allocations: 260 kB / 342 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.1642, allocations: 423.8 kB / 342.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.1656, allocations: 0.9889 MB / 343.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.1671, allocations: 0.933 MB / 344.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009873/0.177, allocations: 6.712 MB / 351 MB, free: 6.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.177, allocations: 4 kB / 351 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.177, allocations: 0 / 351 MB, free: 6.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001809/0.1772, allocations: 0 / 351 MB, free: 6.246 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: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.01873/0.196, allocations: 4.827 MB / 355.8 MB, free: 1.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.196, allocations: 8.031 kB / 355.8 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008316/0.2044, allocations: 1.044 MB / 356.9 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008699/0.2131, allocations: 2.807 MB / 359.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.2136, allocations: 474.4 kB / 360.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.2147, allocations: 407.9 kB / 360.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.2292, allocations: 5.286 MB / 365.8 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.2293, allocations: 7.984 kB / 365.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006327/0.23, allocations: 164 kB / 366 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.2302, allocations: 180 kB / 366.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.2434, allocations: 4.502 MB / 370.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2795/0.523, allocations: 17.65 MB / 388.3 MB, free: 47.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.5334, allocations: 8.222 MB / 396.6 MB, free: 39.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/0.5442, allocations: 4.67 MB / 401.2 MB, free: 36.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002695/0.547, allocations: 1.311 MB / 402.5 MB, free: 35.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=190): time 5.12e-06/0.547, allocations: 0 / 402.5 MB, free: 35.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=223): time 0.02927/0.5763, allocations: 9.755 MB / 412.3 MB, free: 28.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5764, allocations: 342.4 kB / 412.6 MB, free: 28.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004265/0.5807, allocations: 2.422 MB / 415.1 MB, free: 25.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003214/0.5811, allocations: 69.7 kB / 415.1 MB, free: 25.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.5826, allocations: 1.872 MB / 417 MB, free: 23.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000703/0.5833, allocations: 0.746 MB / 417.7 MB, free: 23.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.5835, allocations: 52 kB / 417.8 MB, free: 23.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5837, allocations: 419.3 kB / 418.2 MB, free: 22.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.5864, allocations: 1.137 MB / 419.3 MB, free: 21.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/0.5896, allocations: 1.898 MB / 421.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.5927, allocations: 1.427 MB / 422.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.5927, allocations: 5.75 kB / 422.7 MB, free: 18 MB / 314.7 MB Notification: Performance of matching and sorting (n=335) (initialization): time 0.0105/0.6032, allocations: 4.247 MB / 426.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003188/0.6036, allocations: 0.6618 MB / 427.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.6036, allocations: 20 kB / 427.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/0.6075, allocations: 1.067 MB / 428.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.6109, allocations: 491.2 kB / 429.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.6331, allocations: 15.04 MB / 444.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/0.6369, allocations: 167.9 kB / 444.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.6372, allocations: 112 kB / 444.5 MB, free: 11.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.6372, allocations: 4 kB / 444.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/0.6482, allocations: 3.95 MB / 448.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-05/0.6482, allocations: 20 kB / 448.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.6523, allocations: 1.066 MB / 449.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/0.6559, allocations: 490.6 kB / 450 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/0.6808, allocations: 15.01 MB / 465 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003634/0.6845, allocations: 159.9 kB / 465.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/0.6848, allocations: 108 kB / 465.3 MB, free: 5.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 265 * 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: 6 * 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 {(2,100.0%) 22,(3,100.0%) 26,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003197/0.688, allocations: 1.351 MB / 466.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000706/0.6887, allocations: 276.6 kB / 466.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.6996, allocations: 3.544 MB / 470.4 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.6996, allocations: 7.969 kB / 470.4 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6997, allocations: 0 / 470.4 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/0.7016, allocations: 0.6111 MB / 471 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007328/0.7023, allocations: 55.98 kB / 471.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/0.7049, allocations: 135.7 kB / 471.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.7055, allocations: 209.6 kB / 471.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01355/0.7191, allocations: 3.696 MB / 475.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01068/0.7298, allocations: 4.287 MB / 479.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00304/0.7329, allocations: 1.241 MB / 480.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004081/0.737, allocations: 1.65 MB / 482.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of Backend: time 1.182e-06/0.737, allocations: 0 / 482.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01683/0.7539, allocations: 6.006 MB / 488.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of SimCode: time 0.02168/0.7756, allocations: 9.681 MB / 498 MB, free: 4.402 MB / 378.7 MB Notification: Performance of Templates: time 0.4024/1.178, allocations: 56 MB / 0.541 GB, free: 131.8 MB / 410.7 MB