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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.0912, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_withLosses): time 0.01906/0.1103, allocations: 11.06 MB / 320.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.1221, allocations: 4.518 MB / 324.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.1243, allocations: 67.69 kB / 324.7 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.1278, allocations: 0.7853 MB / 325.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005159/0.133, allocations: 1.203 MB / 326.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.136, allocations: 0.6509 MB / 327.4 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00732/0.1433, allocations: 3.019 MB / 330.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004529/0.1479, allocations: 2.258 MB / 332.6 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.1509, allocations: 1.355 MB / 334 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.1549, allocations: 1.638 MB / 335.6 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.156, allocations: 220 kB / 335.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.1586, allocations: 0.5034 MB / 336.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.1604, allocations: 0.958 MB / 337.3 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.1619, allocations: 0.8082 MB / 338.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009631/0.1716, allocations: 5.902 MB / 344 MB, free: 13.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1716, allocations: 4 kB / 344 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.883e-06/0.1716, allocations: 0 / 344 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000179/0.1718, allocations: 3.938 kB / 344 MB, free: 13.25 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01646/0.1883, allocations: 4.257 MB / 348.3 MB, free: 8.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1884, allocations: 8.031 kB / 348.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007017/0.1954, allocations: 0.881 MB / 349.2 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007439/0.2029, allocations: 2.495 MB / 351.7 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.2032, allocations: 250.7 kB / 351.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009708/0.2042, allocations: 335.9 kB / 352.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.2174, allocations: 4.504 MB / 356.7 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.2175, allocations: 7.906 kB / 356.7 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005084/0.2181, allocations: 136 kB / 356.9 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/0.2183, allocations: 158.7 kB / 357 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.2304, allocations: 3.895 MB / 360.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3176/0.548, allocations: 14.16 MB / 375.1 MB, free: 52.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.5596, allocations: 6.93 MB / 382 MB, free: 47.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009897/0.5696, allocations: 3.657 MB / 385.7 MB, free: 46.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.5697, allocations: 56.45 kB / 385.7 MB, free: 46.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=169): time 5.28e-06/0.5697, allocations: 1.438 kB / 385.7 MB, free: 46.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=189): time 0.0278/0.5975, allocations: 8.075 MB / 393.8 MB, free: 42.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.5976, allocations: 73.7 kB / 393.9 MB, free: 42.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004505/0.6021, allocations: 2.554 MB / 396.4 MB, free: 41.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003425/0.6025, allocations: 54 kB / 396.5 MB, free: 41.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.6037, allocations: 1.614 MB / 398.1 MB, free: 40.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007163/0.6045, allocations: 0.6369 MB / 398.7 MB, free: 39.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.6047, allocations: 40.06 kB / 398.8 MB, free: 39.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6049, allocations: 387 kB / 399.2 MB, free: 39.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.6073, allocations: 0.9107 MB / 400.1 MB, free: 39.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.6101, allocations: 1.286 MB / 401.4 MB, free: 38.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.613, allocations: 1.156 MB / 402.5 MB, free: 37.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.613, allocations: 0 / 402.5 MB, free: 37.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.008592/0.6216, allocations: 3.098 MB / 405.6 MB, free: 35.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.6217, allocations: 36.64 kB / 405.6 MB, free: 35.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.6218, allocations: 11.06 kB / 405.7 MB, free: 35.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.6241, allocations: 0.5717 MB / 406.2 MB, free: 35.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003377/0.6275, allocations: 434.1 kB / 406.7 MB, free: 35.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.6402, allocations: 7.218 MB / 413.9 MB, free: 27.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.6427, allocations: 95.84 kB / 414 MB, free: 27.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.6429, allocations: 75.98 kB / 414 MB, free: 27.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 195 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(8,62.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002375/0.6453, allocations: 1.165 MB / 415.2 MB, free: 26.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/0.6458, allocations: 248.9 kB / 415.4 MB, free: 26.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007757/0.6536, allocations: 2.906 MB / 418.4 MB, free: 23.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/0.6537, allocations: 11.97 kB / 418.4 MB, free: 23.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6537, allocations: 0 / 418.4 MB, free: 23.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/0.6553, allocations: 0.5369 MB / 418.9 MB, free: 22.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/0.6559, allocations: 40 kB / 418.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/0.6581, allocations: 91.92 kB / 419 MB, free: 22.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/0.6586, allocations: 154.8 kB / 419.2 MB, free: 22.28 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01066/0.6692, allocations: 3.123 MB / 422.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0083/0.6776, allocations: 3.649 MB / 426 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002334/0.68, allocations: 1.051 MB / 427 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003248/0.6832, allocations: 1.787 MB / 428.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Backend: time 3.116e-06/0.6833, allocations: 0 / 428.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007383/0.6906, allocations: 2.507 MB / 431.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of SimCode: time 0.01651/0.7072, allocations: 8.828 MB / 440.1 MB, free: 1.336 MB / 314.7 MB Notification: Performance of Templates: time 0.1113/0.8185, allocations: 37.58 MB / 477.7 MB, free: 11.71 MB / 362.7 MB