Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.598/1.598, allocations: 171.2 MB / 184.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.549e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2493, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3533, allocations: 70.07 MB / 337.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.3536, allocations: 91.89 kB / 337.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04269/0.3963, allocations: 12.29 MB / 350 MB, free: 6.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.3964, allocations: 4 kB / 350 MB, free: 6.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.3964, allocations: 8 kB / 350 MB, free: 6.727 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001945/0.3984, allocations: 0.6623 MB / 350.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3984, allocations: 12.03 kB / 350.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.3987, allocations: 51.61 kB / 350.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.3991, allocations: 266.5 kB / 351 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.3992, allocations: 29 kB / 351.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.3993, allocations: 36 kB / 351.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.4001, allocations: 334.5 kB / 351.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.4001, allocations: 7.938 kB / 351.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.4002, allocations: 12 kB / 351.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4002, allocations: 12 kB / 351.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.4009, allocations: 244 kB / 351.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.4035, allocations: 1.343 MB / 353 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.4041, allocations: 174.7 kB / 353.2 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.4043, allocations: 68.86 kB / 353.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.4044, allocations: 7.984 kB / 353.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.4044, allocations: 42.55 kB / 353.3 MB, free: 3.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.796e-06/0.4044, allocations: 0 / 353.3 MB, free: 3.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000669/0.4051, allocations: 215.6 kB / 353.5 MB, free: 3.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.4052, allocations: 55.41 kB / 353.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.4054, allocations: 154.5 kB / 353.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4055, allocations: 29.7 kB / 353.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.4057, allocations: 274 kB / 354 MB, free: 2.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.4057, allocations: 63.09 kB / 354.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4058, allocations: 0 / 354.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4059, allocations: 314.8 kB / 354.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4061, allocations: 59.98 kB / 354.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.4063, allocations: 102.9 kB / 354.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.4065, allocations: 75.91 kB / 354.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-06/0.4065, allocations: 0 / 354.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007401/0.4073, allocations: 273.5 kB / 354.9 MB, free: 1.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4073, allocations: 13.31 kB / 354.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.726e-06/0.4073, allocations: 0 / 354.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004765/0.4078, allocations: 84.81 kB / 355 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.4081, allocations: 39.92 kB / 355 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.182/0.5901, allocations: 1.828 MB / 356.9 MB, free: 74.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5904, allocations: 29.89 kB / 356.9 MB, free: 74.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.5905, allocations: 9.016 kB / 356.9 MB, free: 74.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.446e-05/0.5906, allocations: 114.3 kB / 357 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.5907, allocations: 19.53 kB / 357 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.5914, allocations: 225.4 kB / 357.3 MB, free: 74.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.659e-06/0.5914, allocations: 2.875 kB / 357.3 MB, free: 74.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5914, allocations: 4.562 kB / 357.3 MB, free: 74.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.5e-06/0.5914, allocations: 1.234 kB / 357.3 MB, free: 74.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.5919, allocations: 337.8 kB / 357.6 MB, free: 73.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.5919, allocations: 2.156 kB / 357.6 MB, free: 73.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.5921, allocations: 17.58 kB / 357.6 MB, free: 73.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.5926, allocations: 88.22 kB / 357.7 MB, free: 73.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.5926, allocations: 8.516 kB / 357.7 MB, free: 73.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.595, allocations: 1.845 MB / 359.6 MB, free: 72.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.595, allocations: 0 / 359.6 MB, free: 72.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.5958, allocations: 386.3 kB / 359.9 MB, free: 72.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.5958, allocations: 86.61 kB / 360 MB, free: 72.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.5959, allocations: 1.344 kB / 360 MB, free: 72.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.5961, allocations: 20.11 kB / 360 MB, free: 72.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.5962, allocations: 12.78 kB / 360 MB, free: 72.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.5962, allocations: 6.281 kB / 360.1 MB, free: 72.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.5963, allocations: 125.2 kB / 360.2 MB, free: 72.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5964, allocations: 0 / 360.2 MB, free: 72.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000701/0.5971, allocations: 102.7 kB / 360.3 MB, free: 72.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.5973, allocations: 127.1 kB / 360.4 MB, free: 72.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006641/0.598, allocations: 307.5 kB / 360.7 MB, free: 72.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.844e-06/0.598, allocations: 3.625 kB / 360.7 MB, free: 72.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.5984, allocations: 225.9 kB / 360.9 MB, free: 71.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.5987, allocations: 22.25 kB / 360.9 MB, free: 71.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.5998, allocations: 411.5 kB / 361.3 MB, free: 71.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.6001, allocations: 0.774 MB / 362.1 MB, free: 71.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.6001, allocations: 18.59 kB / 362.1 MB, free: 71.01 MB / 298.7 MB Notification: Performance of SimCode: time 1.694e-06/0.6002, allocations: 0 / 362.1 MB, free: 71.01 MB / 298.7 MB Notification: Performance of Templates: time 0.006319/0.6065, allocations: 3.943 MB / 366.1 MB, free: 70.86 MB / 298.7 MB