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_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09225, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01882/0.1111, allocations: 11.17 MB / 320.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1221, allocations: 4.229 MB / 324.5 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.1244, allocations: 71.69 kB / 324.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.1281, allocations: 0.7968 MB / 325.3 MB, free: 40 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.1335, allocations: 1.203 MB / 326.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.1364, allocations: 0.608 MB / 327.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007673/0.144, allocations: 3.237 MB / 330.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005051/0.1492, allocations: 2.553 MB / 332.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.1523, allocations: 1.448 MB / 334.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/0.1565, allocations: 1.727 MB / 336.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009903/0.1575, allocations: 247.9 kB / 336.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.1595, allocations: 391.8 kB / 336.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.1608, allocations: 0.8683 MB / 337.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.1624, allocations: 0.8512 MB / 338.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.1724, allocations: 6.28 MB / 344.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1725, allocations: 3.844 kB / 344.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1725, allocations: 4 kB / 344.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002067/0.1727, allocations: 0 / 344.7 MB, free: 12.53 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01709/0.1898, allocations: 4.284 MB / 349 MB, free: 8.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1899, allocations: 8.031 kB / 349 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/0.1972, allocations: 0.881 MB / 349.9 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007739/0.205, allocations: 2.534 MB / 352.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.2054, allocations: 275.2 kB / 352.7 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.2066, allocations: 355.9 kB / 353.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.2218, allocations: 4.99 MB / 358.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.2219, allocations: 3.906 kB / 358.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006049/0.2226, allocations: 152 kB / 358.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002457/0.2228, allocations: 163.2 kB / 358.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.2373, allocations: 4.377 MB / 362.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2917/0.529, allocations: 15.93 MB / 378.7 MB, free: 49.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.54, allocations: 7.774 MB / 386.4 MB, free: 44.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009931/0.55, allocations: 4.04 MB / 390.5 MB, free: 41.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5501, allocations: 55.44 kB / 390.5 MB, free: 41.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 6.011e-06/0.5501, allocations: 0 / 390.5 MB, free: 41.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=170): time 0.03284/0.583, allocations: 8.329 MB / 398.9 MB, free: 37.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.5831, allocations: 69.28 kB / 398.9 MB, free: 37.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/0.5884, allocations: 2.095 MB / 401 MB, free: 36.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/0.5887, allocations: 52.33 kB / 401.1 MB, free: 36.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.5904, allocations: 1.614 MB / 402.7 MB, free: 34.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007251/0.5911, allocations: 0.5685 MB / 403.3 MB, free: 34.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.5914, allocations: 43.59 kB / 403.3 MB, free: 34.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5916, allocations: 384.8 kB / 403.7 MB, free: 33.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/0.5949, allocations: 0.9652 MB / 404.6 MB, free: 33.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.5985, allocations: 1.455 MB / 406.1 MB, free: 32.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.6023, allocations: 1.207 MB / 407.3 MB, free: 31.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.6023, allocations: 3.969 kB / 407.3 MB, free: 31.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.01116/0.6135, allocations: 3.397 MB / 410.7 MB, free: 29.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.6136, allocations: 11.03 kB / 410.7 MB, free: 29.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.6136, allocations: 19.53 kB / 410.7 MB, free: 29.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/0.6174, allocations: 0.7289 MB / 411.5 MB, free: 29.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.6209, allocations: 386.7 kB / 411.8 MB, free: 29.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.6416, allocations: 10.62 MB / 422.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.6442, allocations: 92.14 kB / 422.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.6444, allocations: 83.92 kB / 422.6 MB, free: 17.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002463/0.6469, allocations: 1.212 MB / 423.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004558/0.6474, allocations: 233.1 kB / 424.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007767/0.6552, allocations: 3.238 MB / 427.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.6552, allocations: 7.969 kB / 427.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6552, allocations: 0 / 427.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.6566, allocations: 0.5178 MB / 427.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005135/0.6571, allocations: 43.89 kB / 427.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.6588, allocations: 84.81 kB / 428 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/0.6593, allocations: 186 kB / 428.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00997/0.6693, allocations: 3.257 MB / 431.4 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007344/0.6766, allocations: 3.573 MB / 435 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002171/0.6788, allocations: 1.066 MB / 436 MB, free: 4.426 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002705/0.6815, allocations: 1.438 MB / 437.5 MB, free: 2.969 MB / 314.7 MB Notification: Performance of Backend: time 4.71e-07/0.6815, allocations: 0 / 437.5 MB, free: 2.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005858/0.6874, allocations: 2.473 MB / 440 MB, free: 460 kB / 314.7 MB Notification: Performance of SimCode: time 0.01923/0.7067, allocations: 8.885 MB / 448.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of Templates: time 0.1093/0.8161, allocations: 37.98 MB / 486.8 MB, free: 1.555 MB / 362.7 MB