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_VoltageSource.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_VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08636, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource): time 0.02145/0.1079, allocations: 12.93 MB / 322 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.1204, allocations: 5.054 MB / 327.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.1232, allocations: 83.62 kB / 327.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.1272, allocations: 0.9443 MB / 328.1 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.1334, allocations: 1.367 MB / 329.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.1368, allocations: 0.7172 MB / 330.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006469/0.1433, allocations: 2.735 MB / 332.9 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.1479, allocations: 2.52 MB / 335.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.1504, allocations: 1.261 MB / 336.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.1541, allocations: 1.603 MB / 338.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009188/0.155, allocations: 203.9 kB / 338.5 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.157, allocations: 383.8 kB / 338.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.1583, allocations: 0.8527 MB / 339.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1596, allocations: 0.7575 MB / 340.5 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008294/0.1679, allocations: 5.497 MB / 346 MB, free: 11.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1679, allocations: 0 / 346 MB, free: 11.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.168, allocations: 0 / 346 MB, free: 11.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.1681, allocations: 0 / 346 MB, free: 11.3 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01367/0.1818, allocations: 3.913 MB / 349.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1819, allocations: 8.031 kB / 349.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.1864, allocations: 0.6861 MB / 350.6 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006334/0.1928, allocations: 2.28 MB / 352.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/0.1931, allocations: 258.9 kB / 353.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008237/0.1939, allocations: 343.9 kB / 353.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/0.2055, allocations: 4.382 MB / 357.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.2057, allocations: 3.906 kB / 357.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004993/0.2062, allocations: 144 kB / 358 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.2064, allocations: 162.7 kB / 358.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.2168, allocations: 3.692 MB / 361.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/0.4983, allocations: 14.44 MB / 376.3 MB, free: 52.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.5058, allocations: 5.321 MB / 381.6 MB, free: 48.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008819/0.5146, allocations: 3.193 MB / 384.8 MB, free: 46.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.5147, allocations: 54.16 kB / 384.8 MB, free: 46.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=137): time 5.28e-06/0.5147, allocations: 0 / 384.8 MB, free: 46.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=142): time 0.01636/0.5311, allocations: 5.718 MB / 390.5 MB, free: 44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5312, allocations: 66.09 kB / 390.6 MB, free: 43.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/0.5352, allocations: 1.987 MB / 392.6 MB, free: 43.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.5355, allocations: 57.58 kB / 392.6 MB, free: 43.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.5368, allocations: 1.636 MB / 394.3 MB, free: 41.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/0.5374, allocations: 499.4 kB / 394.8 MB, free: 41.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.5376, allocations: 35.88 kB / 394.8 MB, free: 41.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5377, allocations: 378.8 kB / 395.2 MB, free: 41.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5395, allocations: 0.7377 MB / 395.9 MB, free: 40.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.5416, allocations: 1.355 MB / 397.3 MB, free: 39.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.5439, allocations: 0.9819 MB / 398.2 MB, free: 39.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.544, allocations: 3.938 kB / 398.3 MB, free: 39.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.00572/0.5497, allocations: 2.56 MB / 400.8 MB, free: 38.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.5498, allocations: 18.16 kB / 400.8 MB, free: 38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.5498, allocations: 19 kB / 400.8 MB, free: 38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.5503, allocations: 134.8 kB / 401 MB, free: 37.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.5535, allocations: 488 kB / 401.5 MB, free: 37.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.5562, allocations: 3.098 MB / 404.6 MB, free: 34.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.5587, allocations: 106.1 kB / 404.7 MB, free: 34.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.5589, allocations: 89.58 kB / 404.7 MB, free: 34.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * 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 (234): * Single equations (assignments): 231 * 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: 2 * 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: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002283/0.5612, allocations: 1.044 MB / 405.8 MB, free: 34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/0.5617, allocations: 221.2 kB / 406 MB, free: 33.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/0.5669, allocations: 2.261 MB / 408.3 MB, free: 32.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/0.567, allocations: 11.95 kB / 408.3 MB, free: 32.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.567, allocations: 0 / 408.3 MB, free: 32.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.5683, allocations: 467.7 kB / 408.7 MB, free: 32.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/0.5688, allocations: 24.22 kB / 408.8 MB, free: 32.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.5704, allocations: 87.92 kB / 408.8 MB, free: 32.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.5707, allocations: 96.56 kB / 408.9 MB, free: 32 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006291/0.577, allocations: 2.09 MB / 411 MB, free: 30.7 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00946/0.5865, allocations: 2.799 MB / 413.8 MB, free: 27.89 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002645/0.5892, allocations: 0.7635 MB / 414.6 MB, free: 27.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00425/0.5935, allocations: 1.344 MB / 415.9 MB, free: 25.77 MB / 314.7 MB Notification: Performance of Backend: time 1.774e-06/0.5935, allocations: 4 kB / 415.9 MB, free: 25.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006379/0.5999, allocations: 1.689 MB / 417.6 MB, free: 24.05 MB / 314.7 MB Notification: Performance of SimCode: time 0.02308/0.6231, allocations: 7.691 MB / 425.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of Templates: time 0.11/0.7331, allocations: 29.91 MB / 455.2 MB, free: 2.453 MB / 330.7 MB