Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.131/2.131, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.838e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 54.87 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.411, allocations: 90.11 MB / 448.1 MB, free: 4.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4113, allocations: 79.95 kB / 448.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3567/0.768, allocations: 32.12 MB / 480.3 MB, free: 89.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.974e-06/0.7681, allocations: 4 kB / 480.4 MB, free: 89.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.613e-05/0.7681, allocations: 22.12 kB / 480.4 MB, free: 89.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003565/0.7717, allocations: 1.237 MB / 481.6 MB, free: 88.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.7718, allocations: 11.38 kB / 481.6 MB, free: 88.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009766/0.7815, allocations: 1.014 MB / 482.6 MB, free: 88.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.7827, allocations: 0.5129 MB / 483.1 MB, free: 88.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.7828, allocations: 39.22 kB / 483.2 MB, free: 88.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.7831, allocations: 73.47 kB / 483.3 MB, free: 88.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002843/0.7859, allocations: 1.305 MB / 484.6 MB, free: 88.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.7881, allocations: 0.8746 MB / 485.4 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/0.7882, allocations: 3.906 kB / 485.4 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.7883, allocations: 7.672 kB / 485.4 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.7884, allocations: 31.84 kB / 485.5 MB, free: 88.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00879/0.7972, allocations: 4.587 MB / 490.1 MB, free: 85.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.7993, allocations: 1.108 MB / 491.2 MB, free: 84.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/0.8, allocations: 319 kB / 491.5 MB, free: 84.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.8002, allocations: 104.3 kB / 491.6 MB, free: 84.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.8002, allocations: 47.06 kB / 491.6 MB, free: 84.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.843e-06/0.8002, allocations: 3.938 kB / 491.6 MB, free: 84.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003177/0.8034, allocations: 0.81 MB / 492.4 MB, free: 84.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.8035, allocations: 60.06 kB / 492.5 MB, free: 84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.8041, allocations: 407.3 kB / 492.9 MB, free: 83.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.8042, allocations: 32.95 kB / 492.9 MB, free: 83.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.8044, allocations: 0.5388 MB / 493.5 MB, free: 83.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.8046, allocations: 303.3 kB / 493.8 MB, free: 83.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.8047, allocations: 0 / 493.8 MB, free: 83.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.8048, allocations: 354.7 kB / 494.1 MB, free: 82.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.8054, allocations: 295.3 kB / 494.4 MB, free: 82.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.8062, allocations: 0.5419 MB / 494.9 MB, free: 82.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.8087, allocations: 0.6386 MB / 495.6 MB, free: 81.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.8087, allocations: 3.969 kB / 495.6 MB, free: 81.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003988/0.8127, allocations: 1.244 MB / 496.8 MB, free: 80.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.8128, allocations: 9.094 kB / 496.8 MB, free: 80.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.8128, allocations: 8 kB / 496.9 MB, free: 80.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.8132, allocations: 63.56 kB / 496.9 MB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.8145, allocations: 269.7 kB / 497.2 MB, free: 80.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.8162, allocations: 2.524 MB / 499.7 MB, free: 77.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.8173, allocations: 98.97 kB / 499.8 MB, free: 77.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.8174, allocations: 47.75 kB / 499.8 MB, free: 77.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002188/0.8177, allocations: 132.6 kB / 500 MB, free: 77.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.8179, allocations: 67.25 kB / 0.4883 GB, free: 77.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.8206, allocations: 1.1 MB / 0.4894 GB, free: 76.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.8206, allocations: 8 kB / 0.4894 GB, free: 76.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.308e-06/0.8207, allocations: 4 kB / 0.4894 GB, free: 76.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.8207, allocations: 6.984 kB / 0.4894 GB, free: 76.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.8256, allocations: 2.566 MB / 0.4919 GB, free: 74.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8257, allocations: 8 kB / 0.4919 GB, free: 74.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/0.8266, allocations: 180.9 kB / 0.4921 GB, free: 74.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.8269, allocations: 69.7 kB / 0.4922 GB, free: 73.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/0.827, allocations: 11.8 kB / 0.4922 GB, free: 73.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.8287, allocations: 2.523 MB / 0.4946 GB, free: 71.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.088e-06/0.8287, allocations: 12.25 kB / 0.4946 GB, free: 71.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/0.8319, allocations: 1.728 MB / 0.4963 GB, free: 69.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.8322, allocations: 171.7 kB / 0.4965 GB, free: 69.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.8324, allocations: 11.89 kB / 0.4965 GB, free: 69.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.8332, allocations: 47.23 kB / 0.4966 GB, free: 69.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.8333, allocations: 84.72 kB / 0.4966 GB, free: 69.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.8334, allocations: 35.89 kB / 0.4967 GB, free: 69.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.8339, allocations: 322.4 kB / 0.497 GB, free: 68.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.8339, allocations: 0 / 0.497 GB, free: 68.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001229/0.8351, allocations: 286.9 kB / 0.4973 GB, free: 68.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/0.8354, allocations: 158.3 kB / 0.4974 GB, free: 68.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.8373, allocations: 0.9637 MB / 0.4983 GB, free: 67.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.305e-06/0.8373, allocations: 4 kB / 0.4983 GB, free: 67.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.8383, allocations: 0.5653 MB / 0.4989 GB, free: 66.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.839, allocations: 57.94 kB / 0.499 GB, free: 66.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.8442, allocations: 1.784 MB / 0.5007 GB, free: 65.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.8448, allocations: 1.004 MB / 0.5017 GB, free: 64.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.8453, allocations: 86.09 kB / 0.5018 GB, free: 64.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.747e-06/0.8453, allocations: 0 / 0.5018 GB, free: 64.11 MB / 394.7 MB Notification: Performance of Templates: time 0.02242/0.8677, allocations: 17.83 MB / 0.5192 GB, free: 46.26 MB / 394.7 MB