Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.1 MB / 187.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006218/0.000622, allocations: 8 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.08046, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4333, allocations: 70.15 MB / 342.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.4336, allocations: 85.58 kB / 342.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04706/0.4807, allocations: 12.42 MB / 355.2 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4808, allocations: 0 / 355.2 MB, free: 9.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.4808, allocations: 12 kB / 355.2 MB, free: 9.586 MB / 282.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.002398/0.4832, allocations: 0.6776 MB / 355.9 MB, free: 8.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4833, allocations: 12.03 kB / 355.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.4836, allocations: 50.89 kB / 356 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.4841, allocations: 267.7 kB / 356.2 MB, free: 8.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.4841, allocations: 30.12 kB / 356.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.4842, allocations: 37.19 kB / 356.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4853, allocations: 363.3 kB / 356.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.4854, allocations: 0 / 356.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.4854, allocations: 18.55 kB / 356.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4855, allocations: 8 kB / 356.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4865, allocations: 301.3 kB / 357 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.4898, allocations: 1.373 MB / 358.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.4906, allocations: 172.2 kB / 358.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.4907, allocations: 8 kB / 358.5 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4907, allocations: 38.48 kB / 358.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.4907, allocations: 0 / 358.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002095/0.4928, allocations: 460.1 kB / 359 MB, free: 6.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.4929, allocations: 54.66 kB / 359.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.4932, allocations: 173.8 kB / 359.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.4932, allocations: 28.89 kB / 359.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.4934, allocations: 269.8 kB / 359.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.4935, allocations: 60.31 kB / 359.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.4935, allocations: 3.312 kB / 359.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4936, allocations: 325.3 kB / 359.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.4939, allocations: 76.91 kB / 360 MB, free: 5.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4943, allocations: 132.8 kB / 360.1 MB, free: 5.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.4946, allocations: 95.33 kB / 360.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4947, allocations: 0 / 360.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001137/0.4958, allocations: 311.2 kB / 360.5 MB, free: 5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.4959, allocations: 13.66 kB / 360.5 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4959, allocations: 4 kB / 360.5 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.4964, allocations: 75.31 kB / 360.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4968, allocations: 43.97 kB / 360.6 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.4993, allocations: 1.668 MB / 362.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.4997, allocations: 31.06 kB / 362.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.4997, allocations: 10.81 kB / 362.3 MB, free: 3.25 MB / 282.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 (19): * Single equations (assignments): 18 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002773/0.5, allocations: 152.1 kB / 362.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.5001, allocations: 11.81 kB / 362.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.5011, allocations: 270.8 kB / 362.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5011, allocations: 4 kB / 362.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5012, allocations: 0 / 362.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5012, allocations: 3.984 kB / 362.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.5018, allocations: 352.1 kB / 363.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5018, allocations: 4 kB / 363.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.5021, allocations: 27.97 kB / 363.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/0.5026, allocations: 78.75 kB / 363.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.5026, allocations: 7.75 kB / 363.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.5051, allocations: 1.65 MB / 364.9 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5051, allocations: 0 / 364.9 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5064, allocations: 458.8 kB / 365.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.5066, allocations: 96.77 kB / 365.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.5066, allocations: 7.984 kB / 365.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.5069, allocations: 15.7 kB / 365.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.507, allocations: 15.97 kB / 365.5 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.507, allocations: 3.812 kB / 365.5 MB, free: 376 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.5072, allocations: 135.2 kB / 365.6 MB, free: 256 kB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5072, allocations: 0 / 365.6 MB, free: 256 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000625/0.5078, allocations: 91.31 kB / 365.7 MB, free: 172 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (9): * Single equations (assignments): 8 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002503/0.5081, allocations: 127 kB / 365.8 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.5093, allocations: 356.7 kB / 366.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5093, allocations: 0 / 366.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.51, allocations: 237.8 kB / 366.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.5103, allocations: 23.8 kB / 366.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.5121, allocations: 0.7478 MB / 367.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.5125, allocations: 0.7677 MB / 367.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.5127, allocations: 23.38 kB / 368 MB, free: 13.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5127, allocations: 0 / 368 MB, free: 13.96 MB / 298.7 MB Notification: Performance of Templates: time 0.009611/0.5223, allocations: 4.032 MB / 372 MB, free: 9.984 MB / 298.7 MB