Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.627/2.627, allocations: 234.9 MB / 251.1 MB, free: 10.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006138/0.0006138, allocations: 12 kB / 314.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3694, allocations: 54.87 MB / 369.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5452, allocations: 90.84 MB / 460.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.5456, allocations: 91.89 kB / 460.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4637/1.009, allocations: 32.63 MB / 493.4 MB, free: 88.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.009, allocations: 0 / 493.4 MB, free: 88.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.395e-05/1.009, allocations: 21.62 kB / 493.4 MB, free: 88.15 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.004502/1.014, allocations: 1.28 MB / 494.7 MB, free: 87.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.014, allocations: 8.5 kB / 494.7 MB, free: 87.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/1.024, allocations: 1.024 MB / 495.7 MB, free: 87.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.026, allocations: 0.5151 MB / 496.2 MB, free: 86.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/1.026, allocations: 89.42 kB / 496.3 MB, free: 86.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/1.026, allocations: 124 kB / 496.4 MB, free: 86.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/1.03, allocations: 1.173 MB / 497.6 MB, free: 86.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/1.03, allocations: 7.75 kB / 497.6 MB, free: 86.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/1.03, allocations: 54.72 kB / 497.7 MB, free: 86.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/1.03, allocations: 32.73 kB / 497.7 MB, free: 86.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/1.034, allocations: 1.438 MB / 499.1 MB, free: 85.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/1.048, allocations: 4.855 MB / 0.4922 GB, free: 80.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/1.05, allocations: 1.181 MB / 0.4933 GB, free: 79.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/1.051, allocations: 97.92 kB / 0.4934 GB, free: 78.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.051, allocations: 43.56 kB / 0.4935 GB, free: 78.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 3.556e-06/1.051, allocations: 0 / 0.4935 GB, free: 78.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003423/1.054, allocations: 1.2 MB / 0.4946 GB, free: 77.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.054, allocations: 64.41 kB / 0.4947 GB, free: 77.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.056, allocations: 0.7697 MB / 0.4954 GB, free: 76.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.056, allocations: 41.7 kB / 0.4955 GB, free: 76.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/1.056, allocations: 484.2 kB / 0.4959 GB, free: 76.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/1.056, allocations: 312.3 kB / 0.4962 GB, free: 75.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/1.056, allocations: 24 kB / 0.4963 GB, free: 75.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/1.057, allocations: 354.8 kB / 0.4966 GB, free: 75.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/1.058, allocations: 342.5 kB / 0.4969 GB, free: 75.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.059, allocations: 0.6024 MB / 0.4975 GB, free: 74.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.06, allocations: 427 kB / 0.4979 GB, free: 74.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.06, allocations: 4 kB / 0.4979 GB, free: 74.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003129/1.063, allocations: 1.135 MB / 0.499 GB, free: 72.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/1.063, allocations: 8 kB / 0.499 GB, free: 72.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.063, allocations: 8 kB / 0.4991 GB, free: 72.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/1.064, allocations: 69.61 kB / 0.4991 GB, free: 72.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/1.066, allocations: 263.6 kB / 0.4994 GB, free: 72.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/1.068, allocations: 2.635 MB / 0.5019 GB, free: 69.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.069, allocations: 154.6 kB / 0.5021 GB, free: 69.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.07, allocations: 51.98 kB / 0.5021 GB, free: 69.5 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 () * Number of clocked 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.0006283/1.07, allocations: 253.4 kB / 0.5024 GB, free: 69.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/1.07, allocations: 90.88 kB / 0.5025 GB, free: 69.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/1.073, allocations: 1.106 MB / 0.5036 GB, free: 68.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.073, allocations: 11.98 kB / 0.5036 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.073, allocations: 3.953 kB / 0.5036 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.073, allocations: 3.984 kB / 0.5036 GB, free: 67.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/1.079, allocations: 2.706 MB / 0.5062 GB, free: 65.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.079, allocations: 4 kB / 0.5062 GB, free: 65.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.08, allocations: 187.7 kB / 0.5064 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/1.081, allocations: 66.14 kB / 0.5065 GB, free: 64.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/1.081, allocations: 24 kB / 0.5065 GB, free: 64.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/1.083, allocations: 2.635 MB / 0.5091 GB, free: 61.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/1.083, allocations: 11.94 kB / 0.5091 GB, free: 61.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/1.086, allocations: 1.476 MB / 0.5105 GB, free: 60.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/1.087, allocations: 207.8 kB / 0.5107 GB, free: 60.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.087, allocations: 31.94 kB / 0.5107 GB, free: 60.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.088, allocations: 51.98 kB / 0.5108 GB, free: 60 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/1.088, allocations: 80.45 kB / 0.5109 GB, free: 59.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/1.088, allocations: 36 kB / 0.5109 GB, free: 59.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000969/1.089, allocations: 0.5381 MB / 0.5114 GB, free: 59.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.089, allocations: 0 / 0.5114 GB, free: 59.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001443/1.091, allocations: 303.5 kB / 0.5117 GB, free: 59.05 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 () * Number of clocked 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.0003577/1.091, allocations: 172.8 kB / 0.5119 GB, free: 58.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002883/1.094, allocations: 1.088 MB / 0.5129 GB, free: 57.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.094, allocations: 4.062 kB / 0.5129 GB, free: 57.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.096, allocations: 0.6233 MB / 0.5136 GB, free: 57.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.097, allocations: 109.7 kB / 0.5137 GB, free: 57.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00744/1.104, allocations: 2.66 MB / 0.5163 GB, free: 54.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/1.105, allocations: 1.012 MB / 0.5172 GB, free: 53.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/1.105, allocations: 91.42 kB / 0.5173 GB, free: 53.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/1.105, allocations: 0 / 0.5173 GB, free: 53.14 MB / 394.7 MB Notification: Performance of Templates: time 0.03358/1.139, allocations: 18.97 MB / 0.5359 GB, free: 34.14 MB / 394.7 MB