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.737/1.737, allocations: 171.1 MB / 186.7 MB, free: 1.051 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003531, allocations: 12 kB / 233.2 MB, free: 3.047 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07153/0.07191, allocations: 38.77 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004028/0.07598, allocations: 2.659 MB / 274.6 MB, free: 9.508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.07821, allocations: 1.021 MB / 275.6 MB, free: 8.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.07844, allocations: 8 kB / 275.6 MB, free: 8.473 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.07883, allocations: 111.4 kB / 275.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.07907, allocations: 71.83 kB / 275.8 MB, free: 8.293 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.08076, allocations: 0.5819 MB / 276.4 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.08119, allocations: 227.5 kB / 276.6 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.0828, allocations: 0.6906 MB / 277.3 MB, free: 6.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.0831, allocations: 123.6 kB / 277.4 MB, free: 6.648 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.08337, allocations: 155.4 kB / 277.6 MB, free: 6.496 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.08342, allocations: 16 kB / 277.6 MB, free: 6.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.08379, allocations: 111.9 kB / 277.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.08388, allocations: 55.77 kB / 277.7 MB, free: 6.316 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.08399, allocations: 85.58 kB / 277.8 MB, free: 6.227 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.0846, allocations: 399.1 kB / 278.2 MB, free: 5.836 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.652e-06/0.08462, allocations: 4 kB / 278.2 MB, free: 5.832 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.117e-06/0.08464, allocations: 4 kB / 278.2 MB, free: 5.828 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.08465, allocations: 0 / 278.2 MB, free: 5.828 MB / 234.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.002374/0.08704, allocations: 0.7568 MB / 279 MB, free: 5.023 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.08709, allocations: 12.03 kB / 279 MB, free: 5.012 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.08746, allocations: 55.59 kB / 279 MB, free: 4.957 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.08787, allocations: 258.5 kB / 279.3 MB, free: 4.664 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.08793, allocations: 32.98 kB / 279.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.08802, allocations: 43.98 kB / 279.4 MB, free: 4.586 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00087/0.08891, allocations: 354.5 kB / 279.7 MB, free: 4.234 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.08895, allocations: 3.938 kB / 279.7 MB, free: 4.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.08901, allocations: 16 kB / 279.7 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.08904, allocations: 8 kB / 279.8 MB, free: 4.207 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.08985, allocations: 287.9 kB / 280 MB, free: 3.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.09243, allocations: 1.332 MB / 281.4 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.09313, allocations: 194.7 kB / 281.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.09317, allocations: 0 / 281.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.09322, allocations: 38.52 kB / 281.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 2.247e-06/0.09323, allocations: 0 / 281.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001843/0.09508, allocations: 499.1 kB / 282.1 MB, free: 1.738 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.09516, allocations: 59.28 kB / 282.1 MB, free: 1.668 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.0954, allocations: 172 kB / 282.3 MB, free: 1.484 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.09544, allocations: 25.7 kB / 282.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.09566, allocations: 289.9 kB / 282.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.09573, allocations: 47.27 kB / 282.7 MB, free: 1.121 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.09575, allocations: 8 kB / 282.7 MB, free: 1.113 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.09592, allocations: 314.8 kB / 283 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.09617, allocations: 71.97 kB / 283 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.09646, allocations: 122.8 kB / 283.2 MB, free: 0.582 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.09674, allocations: 91.91 kB / 283.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.126e-06/0.09676, allocations: 0 / 283.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008781/0.09765, allocations: 309.5 kB / 283.6 MB, free: 188 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.09769, allocations: 8 kB / 283.6 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.328e-06/0.09771, allocations: 0 / 283.6 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.09816, allocations: 100.7 kB / 283.7 MB, free: 76 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.09843, allocations: 35.97 kB / 283.7 MB, free: 40 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.1012, allocations: 1.862 MB / 285.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1015, allocations: 35.83 kB / 285.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1015, allocations: 12 kB / 285.6 MB, free: 14 MB / 250.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 () * Number of clocked 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 0.0002412/0.1018, allocations: 149.7 kB / 285.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.1018, allocations: 11.91 kB / 285.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.1026, allocations: 264.6 kB / 286 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.072e-06/0.1027, allocations: 7.984 kB / 286 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-06/0.1027, allocations: 0 / 286 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1027, allocations: 192 / 286 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.1032, allocations: 329.4 kB / 286.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-06/0.1032, allocations: 7.938 kB / 286.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1034, allocations: 27.88 kB / 286.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/0.1038, allocations: 88.8 kB / 286.5 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1038, allocations: 0 / 286.5 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.1066, allocations: 1.87 MB / 288.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.616e-06/0.1066, allocations: 0 / 288.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1077, allocations: 440 kB / 288.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.1078, allocations: 85.05 kB / 288.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1078, allocations: 0 / 288.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.108, allocations: 20.05 kB / 288.9 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.1081, allocations: 19.97 kB / 288.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1082, allocations: 4 kB / 288.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1083, allocations: 132.2 kB / 289 MB, free: 10.33 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.171e-06/0.1083, allocations: 0 / 289 MB, free: 10.33 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007/0.109, allocations: 103.5 kB / 289.1 MB, free: 10.23 MB / 250.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 () * Number of clocked 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.0001897/0.1092, allocations: 111.2 kB / 289.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008898/0.1102, allocations: 342.4 kB / 289.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.384e-06/0.1102, allocations: 0 / 289.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.1107, allocations: 246.9 kB / 289.8 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.111, allocations: 24.06 kB / 289.8 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1125, allocations: 0.75 MB / 290.6 MB, free: 8.703 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.113, allocations: 0.7716 MB / 291.4 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.1131, allocations: 11.44 kB / 291.4 MB, free: 7.891 MB / 250.7 MB Notification: Performance of SimCode: time 1.506e-06/0.1131, allocations: 0 / 291.4 MB, free: 7.891 MB / 250.7 MB Notification: Performance of Templates: time 0.00762/0.1207, allocations: 3.991 MB / 295.4 MB, free: 3.895 MB / 250.7 MB