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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08923, allocations: 44.52 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize): time 0.01725/0.1065, allocations: 10.44 MB / 319.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009839/0.1164, allocations: 4.007 MB / 323.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.1182, allocations: 63.69 kB / 323.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.1212, allocations: 0.7463 MB / 324.3 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.1257, allocations: 1.114 MB / 325.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.1282, allocations: 0.573 MB / 326 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006452/0.1347, allocations: 2.815 MB / 328.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004015/0.1388, allocations: 2.181 MB / 331 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.1413, allocations: 1.242 MB / 332.3 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.1446, allocations: 1.498 MB / 333.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000771/0.1454, allocations: 204 kB / 334 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.1471, allocations: 371.7 kB / 334.3 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.1482, allocations: 0.7281 MB / 335 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1495, allocations: 0.746 MB / 335.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00825/0.1578, allocations: 5.485 MB / 341.3 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1578, allocations: 3.938 kB / 341.3 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1578, allocations: 0 / 341.3 MB, free: 4 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001584/0.158, allocations: 0 / 341.3 MB, free: 4 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0146/0.1726, allocations: 3.743 MB / 345 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1727, allocations: 8.031 kB / 345 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006908/0.1796, allocations: 0.8154 MB / 345.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/0.1863, allocations: 2.214 MB / 348.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002779/0.1866, allocations: 234.2 kB / 348.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008739/0.1875, allocations: 319.9 kB / 348.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.1989, allocations: 4.211 MB / 352.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-05/0.199, allocations: 7.844 kB / 352.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004833/0.1995, allocations: 128 kB / 352.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.1997, allocations: 146.2 kB / 353.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.21, allocations: 3.647 MB / 356.7 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.2418, allocations: 13.53 MB / 370.3 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2498/0.4916, allocations: 6.84 MB / 377.1 MB, free: 52.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008609/0.5003, allocations: 3.231 MB / 380.3 MB, free: 51.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.5004, allocations: 52.27 kB / 380.4 MB, free: 51.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=130): time 4.899e-06/0.5004, allocations: 0 / 380.4 MB, free: 51.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=150): time 0.02069/0.5211, allocations: 6.767 MB / 387.2 MB, free: 47.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5212, allocations: 75.05 kB / 387.2 MB, free: 47.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/0.5247, allocations: 1.798 MB / 389 MB, free: 46.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.525, allocations: 51.2 kB / 389.1 MB, free: 46.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.5261, allocations: 1.412 MB / 390.5 MB, free: 45.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005019/0.5266, allocations: 0.5063 MB / 391 MB, free: 45.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.5268, allocations: 34.44 kB / 391 MB, free: 45.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5269, allocations: 374.6 kB / 391.4 MB, free: 45.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.5289, allocations: 0.7844 MB / 392.2 MB, free: 44.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.5311, allocations: 1.23 MB / 393.4 MB, free: 43.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.5333, allocations: 0.9952 MB / 394.4 MB, free: 43.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.5333, allocations: 3.906 kB / 394.4 MB, free: 43.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006446/0.5398, allocations: 2.69 MB / 397.1 MB, free: 42.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.5398, allocations: 11.88 kB / 397.1 MB, free: 42.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.5398, allocations: 11.88 kB / 397.1 MB, free: 42.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.5419, allocations: 0.4997 MB / 397.6 MB, free: 42.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/0.5446, allocations: 398.1 kB / 398 MB, free: 42.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.5556, allocations: 6.537 MB / 404.5 MB, free: 37.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.5577, allocations: 84.86 kB / 404.6 MB, free: 37.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.5579, allocations: 68.75 kB / 404.7 MB, free: 37.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (184): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * 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%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002141/0.56, allocations: 1.049 MB / 405.7 MB, free: 36.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.5604, allocations: 190.7 kB / 405.9 MB, free: 36.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/0.5664, allocations: 2.564 MB / 408.5 MB, free: 33.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.5664, allocations: 13.66 kB / 408.5 MB, free: 33.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5664, allocations: 3.656 kB / 408.5 MB, free: 33.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.5675, allocations: 466.5 kB / 409 MB, free: 33.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.568, allocations: 31.5 kB / 409 MB, free: 33.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5695, allocations: 75.91 kB / 409.1 MB, free: 33.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.5698, allocations: 125.1 kB / 409.2 MB, free: 33.21 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007871/0.5777, allocations: 2.543 MB / 411.7 MB, free: 30.68 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005965/0.5836, allocations: 3.015 MB / 414.8 MB, free: 27.64 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001689/0.5854, allocations: 0.8613 MB / 415.6 MB, free: 26.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002301/0.5877, allocations: 1.239 MB / 416.9 MB, free: 25.55 MB / 314.7 MB Notification: Performance of Backend: time 6.11e-07/0.5877, allocations: 0 / 416.9 MB, free: 25.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005119/0.5928, allocations: 1.925 MB / 418.8 MB, free: 23.63 MB / 314.7 MB Notification: Performance of SimCode: time 0.01356/0.6064, allocations: 7.579 MB / 426.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of Templates: time 0.08401/0.6905, allocations: 31.65 MB / 458 MB, free: 424 kB / 330.7 MB