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_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.09001, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.02254/0.1126, allocations: 13.74 MB / 322.8 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.126, allocations: 5.433 MB / 328.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.1287, allocations: 87.56 kB / 328.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004399/0.1331, allocations: 1.049 MB / 329.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008767/0.1419, allocations: 1.511 MB / 330.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005085/0.147, allocations: 0.7134 MB / 331.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.1573, allocations: 4.238 MB / 335.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006505/0.1639, allocations: 3.47 MB / 339.3 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.1679, allocations: 1.946 MB / 341.3 MB, free: 16 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005124/0.1731, allocations: 2.358 MB / 343.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.1744, allocations: 331.9 kB / 343.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.177, allocations: 0.527 MB / 344.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001721/0.1787, allocations: 1.238 MB / 345.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.1808, allocations: 1.143 MB / 346.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.1935, allocations: 8.531 MB / 355.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1936, allocations: 0 / 355.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1936, allocations: 0 / 355.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002574/0.1939, allocations: 0 / 355.4 MB, free: 1.848 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02092/0.2148, allocations: 5.52 MB / 360.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2149, allocations: 8.031 kB / 360.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008167/0.2231, allocations: 1.063 MB / 362 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/0.2329, allocations: 3.268 MB / 365.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/0.2334, allocations: 361.7 kB / 365.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.2349, allocations: 483.9 kB / 366.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.2543, allocations: 6.803 MB / 372.9 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.2545, allocations: 3.938 kB / 372.9 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2446/0.4991, allocations: 197.3 kB / 373.1 MB, free: 55.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004896/0.4996, allocations: 241.2 kB / 373.3 MB, free: 55.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.5187, allocations: 5.91 MB / 379.2 MB, free: 53.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05023/0.569, allocations: 21.01 MB / 400.2 MB, free: 40.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.5818, allocations: 9.943 MB / 410.2 MB, free: 29.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02232/0.6041, allocations: 5.453 MB / 415.6 MB, free: 24.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/0.6043, allocations: 56.56 kB / 415.7 MB, free: 23.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=227): time 8.677e-06/0.6043, allocations: 0 / 415.7 MB, free: 23.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=234): time 0.04341/0.6477, allocations: 9.825 MB / 425.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.6478, allocations: 77.41 kB / 425.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00898/0.6568, allocations: 2.917 MB / 428.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006128/0.6575, allocations: 65.7 kB / 428.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.6602, allocations: 2.156 MB / 430.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.6617, allocations: 0.7827 MB / 431.5 MB, free: 7.938 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.6621, allocations: 52 kB / 431.5 MB, free: 7.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.6624, allocations: 411.3 kB / 431.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005383/0.6678, allocations: 1.329 MB / 433.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/0.6735, allocations: 1.933 MB / 435.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.6796, allocations: 1.63 MB / 436.8 MB, free: 2.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/0.6797, allocations: 4 kB / 436.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.01835/0.698, allocations: 4.326 MB / 441.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.6981, allocations: 12 kB / 441.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.857e-05/0.6982, allocations: 16 kB / 441.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007235/0.7055, allocations: 0.7697 MB / 442 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007547/0.7131, allocations: 0.5851 MB / 442.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02681/0.7399, allocations: 10.2 MB / 452.7 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/0.7452, allocations: 116.3 kB / 452.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/0.746, allocations: 100 kB / 453 MB, free: 1.562 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 279 * 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,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006804/0.7528, allocations: 1.617 MB / 454.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/0.7543, allocations: 327.9 kB / 454.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/0.7728, allocations: 4.003 MB / 458.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.136e-05/0.773, allocations: 11.95 kB / 458.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.773, allocations: 0 / 458.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003618/0.7766, allocations: 0.6964 MB / 459.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/0.7783, allocations: 51.95 kB / 459.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005432/0.7837, allocations: 123.9 kB / 459.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009028/0.7847, allocations: 209.6 kB / 460 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01479/0.7995, allocations: 4.085 MB / 464.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01295/0.8125, allocations: 4.984 MB / 469.1 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003841/0.8164, allocations: 1.46 MB / 470.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005089/0.8215, allocations: 2.003 MB / 472.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Backend: time 1.223e-06/0.8216, allocations: 4 kB / 472.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009558/0.8311, allocations: 2.992 MB / 475.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 0.02803/0.8592, allocations: 11.63 MB / 487.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of Templates: time 0.4279/1.287, allocations: 52.35 MB / 0.5268 GB, free: 139 MB / 410.7 MB