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.SMPM_CurrentSource.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.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 11.98 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08834, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.02129/0.1097, allocations: 12.32 MB / 321.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.1221, allocations: 4.774 MB / 326.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.125, allocations: 79.69 kB / 326.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.129, allocations: 0.8977 MB / 327.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.1349, allocations: 1.301 MB / 328.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.1385, allocations: 0.6899 MB / 329.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006671/0.1452, allocations: 2.522 MB / 331.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005384/0.1506, allocations: 2.26 MB / 333.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.1547, allocations: 1.164 MB / 335.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.1583, allocations: 1.459 MB / 336.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009839/0.1593, allocations: 188 kB / 336.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.1614, allocations: 347.8 kB / 337.1 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.163, allocations: 0.7631 MB / 337.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.1645, allocations: 0.6952 MB / 338.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.1762, allocations: 4.998 MB / 343.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1763, allocations: 0 / 343.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.649e-06/0.1763, allocations: 0 / 343.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003067/0.1766, allocations: 0 / 343.5 MB, free: 13.75 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: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.02091/0.1976, allocations: 3.564 MB / 347.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/0.1977, allocations: 8.031 kB / 347.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/0.2056, allocations: 0.6241 MB / 347.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009829/0.2155, allocations: 2.05 MB / 349.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005255/0.2161, allocations: 238.3 kB / 350 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001636/0.2177, allocations: 311.9 kB / 350.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.2374, allocations: 3.972 MB / 354.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/0.2376, allocations: 3.938 kB / 354.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.2388, allocations: 128 kB / 354.4 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003571/0.2392, allocations: 142.2 kB / 354.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.2562, allocations: 3.331 MB / 357.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/0.2991, allocations: 13.28 MB / 371.1 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2902/0.5894, allocations: 3.92 MB / 375.1 MB, free: 55.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008355/0.5978, allocations: 2.642 MB / 377.7 MB, free: 54.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.5979, allocations: 49.12 kB / 377.8 MB, free: 54.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=112): time 4.498e-06/0.5979, allocations: 0 / 377.8 MB, free: 54.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=146): time 0.01928/0.6172, allocations: 6 MB / 383.8 MB, free: 51.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6173, allocations: 70.53 kB / 383.8 MB, free: 51.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.6214, allocations: 1.791 MB / 385.6 MB, free: 51.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.6218, allocations: 51.2 kB / 385.7 MB, free: 51.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.6231, allocations: 1.503 MB / 387.2 MB, free: 49.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/0.6238, allocations: 0.4934 MB / 387.7 MB, free: 49.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.624, allocations: 34.88 kB / 387.7 MB, free: 49.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6242, allocations: 383.6 kB / 388.1 MB, free: 49.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.6264, allocations: 0.7649 MB / 388.8 MB, free: 48.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.6289, allocations: 1.367 MB / 390.2 MB, free: 47.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.6313, allocations: 1.01 MB / 391.2 MB, free: 47.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.6314, allocations: 3.938 kB / 391.2 MB, free: 47.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006054/0.6375, allocations: 2.468 MB / 393.7 MB, free: 46.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.6375, allocations: 19.61 kB / 393.7 MB, free: 46.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.6376, allocations: 23.56 kB / 393.7 MB, free: 46.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.6381, allocations: 113.1 kB / 393.8 MB, free: 46.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/0.6416, allocations: 497.9 kB / 394.3 MB, free: 46.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.6427, allocations: 1.317 MB / 395.6 MB, free: 44.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.6452, allocations: 103.2 kB / 395.7 MB, free: 44.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.6455, allocations: 87.97 kB / 395.8 MB, free: 44.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (235): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002305/0.6478, allocations: 0.9794 MB / 396.8 MB, free: 44.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/0.6484, allocations: 204.7 kB / 397 MB, free: 44.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.6532, allocations: 1.986 MB / 399 MB, free: 43.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.6533, allocations: 9.047 kB / 399 MB, free: 43.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6533, allocations: 0 / 399 MB, free: 43.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.6546, allocations: 449.4 kB / 399.4 MB, free: 42.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/0.6551, allocations: 30.8 kB / 399.5 MB, free: 42.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.6568, allocations: 78.5 kB / 399.5 MB, free: 42.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.6571, allocations: 83.72 kB / 399.6 MB, free: 42.81 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006004/0.6631, allocations: 1.998 MB / 401.6 MB, free: 41.75 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006124/0.6693, allocations: 3.038 MB / 404.7 MB, free: 38.72 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001602/0.6709, allocations: 0.8118 MB / 405.5 MB, free: 37.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002394/0.6734, allocations: 1.206 MB / 406.7 MB, free: 36.68 MB / 314.7 MB Notification: Performance of Backend: time 1.433e-06/0.6734, allocations: 3.938 kB / 406.7 MB, free: 36.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004607/0.678, allocations: 1.676 MB / 408.4 MB, free: 34.97 MB / 314.7 MB Notification: Performance of SimCode: time 0.01395/0.692, allocations: 6.806 MB / 415.2 MB, free: 28.13 MB / 314.7 MB Notification: Performance of Templates: time 0.07571/0.7678, allocations: 28.55 MB / 443.7 MB, free: 15.62 MB / 330.7 MB