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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.000437, allocations: 12 kB / 314.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3207, allocations: 54.87 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.465, allocations: 90.86 MB / 460.1 MB, free: 1.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4653, allocations: 95.88 kB / 460.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/0.5817, allocations: 32.62 MB / 492.8 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.5818, allocations: 0 / 492.8 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.5819, allocations: 20 kB / 492.9 MB, free: 0.6836 MB / 410.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.003978/0.5858, allocations: 1.28 MB / 494.1 MB, free: 15.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5859, allocations: 8.031 kB / 494.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009179/0.5951, allocations: 1.033 MB / 495.2 MB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.5964, allocations: 0.5082 MB / 495.7 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.5965, allocations: 90.45 kB / 495.8 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.5968, allocations: 123.9 kB / 495.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.5999, allocations: 1.169 MB / 497.1 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.6, allocations: 0 / 497.1 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.6002, allocations: 52 kB / 497.1 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.6002, allocations: 35.95 kB / 497.2 MB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.6043, allocations: 1.439 MB / 498.6 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.6227, allocations: 4.855 MB / 0.4916 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/0.6275, allocations: 1.18 MB / 0.4928 GB, free: 4.398 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.6278, allocations: 98.08 kB / 0.4929 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/0.6279, allocations: 51.5 kB / 0.4929 GB, free: 4.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 8.159e-06/0.6279, allocations: 0 / 0.4929 GB, free: 4.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.005736/0.6337, allocations: 1.2 MB / 0.4941 GB, free: 2.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.6338, allocations: 60.41 kB / 0.4942 GB, free: 2.906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.6362, allocations: 0.6908 MB / 0.4948 GB, free: 2.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.6365, allocations: 41.7 kB / 0.4949 GB, free: 2.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.6371, allocations: 493.2 kB / 0.4954 GB, free: 1.676 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.6377, allocations: 311.5 kB / 0.4957 GB, free: 1.367 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.6379, allocations: 27.94 kB / 0.4957 GB, free: 1.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.6382, allocations: 354.8 kB / 0.496 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.6399, allocations: 338.5 kB / 0.4963 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.333/0.9729, allocations: 0.5935 MB / 0.4969 GB, free: 106.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.9743, allocations: 427.8 kB / 0.4973 GB, free: 106.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.9744, allocations: 2.844 kB / 0.4973 GB, free: 106.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003046/0.9774, allocations: 1.12 MB / 0.4984 GB, free: 106.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.9775, allocations: 9.469 kB / 0.4984 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.9775, allocations: 8.312 kB / 0.4984 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.9779, allocations: 69.72 kB / 0.4985 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.9793, allocations: 263.3 kB / 0.4988 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.9813, allocations: 2.641 MB / 0.5013 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.9824, allocations: 152.1 kB / 0.5015 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.9826, allocations: 49.55 kB / 0.5015 GB, free: 103.8 MB / 426.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.0005172/0.9831, allocations: 253 kB / 0.5018 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.9833, allocations: 85.62 kB / 0.5019 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.9857, allocations: 1.114 MB / 0.5029 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9858, allocations: 7.5 kB / 0.5029 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-06/0.9858, allocations: 2.859 kB / 0.5029 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.9858, allocations: 8.297 kB / 0.503 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004749/0.9906, allocations: 2.71 MB / 0.5056 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.9906, allocations: 6.25 kB / 0.5056 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.9917, allocations: 187.4 kB / 0.5058 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.992, allocations: 66.92 kB / 0.5059 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.992, allocations: 27.23 kB / 0.5059 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.9939, allocations: 2.634 MB / 0.5084 GB, free: 99.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.239e-06/0.9939, allocations: 11.59 kB / 0.5085 GB, free: 99.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.9969, allocations: 1.766 MB / 0.5102 GB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.9972, allocations: 216.3 kB / 0.5104 GB, free: 98.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9974, allocations: 26.23 kB / 0.5104 GB, free: 98.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.9982, allocations: 57.23 kB / 0.5105 GB, free: 98.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.9984, allocations: 80.56 kB / 0.5105 GB, free: 98.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.9985, allocations: 32.03 kB / 0.5106 GB, free: 98.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008843/0.9994, allocations: 0.5399 MB / 0.5111 GB, free: 98.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.05e-07/0.9994, allocations: 4.531 kB / 0.5111 GB, free: 98.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001272/1.001, allocations: 297.5 kB / 0.5114 GB, free: 98.84 MB / 426.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.0002905/1.001, allocations: 176.1 kB / 0.5116 GB, free: 98.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002175/1.003, allocations: 1.09 MB / 0.5126 GB, free: 98.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.426e-06/1.003, allocations: 0 / 0.5126 GB, free: 98.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/1.004, allocations: 0.628 MB / 0.5132 GB, free: 98.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/1.005, allocations: 100.7 kB / 0.5133 GB, free: 98.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/1.011, allocations: 2.649 MB / 0.5159 GB, free: 97.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/1.012, allocations: 1.01 MB / 0.5169 GB, free: 96.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/1.012, allocations: 92.98 kB / 0.517 GB, free: 96.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.486e-06/1.012, allocations: 4 kB / 0.517 GB, free: 96.33 MB / 426.7 MB Notification: Performance of Templates: time 0.02478/1.037, allocations: 18.97 MB / 0.5355 GB, free: 92.34 MB / 426.7 MB