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.161/2.161, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.686e-05, allocations: 4 kB / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3169, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4515, allocations: 90.77 MB / 455.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4518, allocations: 81.55 kB / 455.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1144/0.5663, allocations: 32.56 MB / 488 MB, free: 4.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.226e-06/0.5663, allocations: 4 kB / 488 MB, free: 4.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.5664, allocations: 23.98 kB / 488 MB, free: 4.707 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.00388/0.5703, allocations: 1.24 MB / 489.2 MB, free: 3.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.5703, allocations: 11.97 kB / 489.2 MB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009477/0.5798, allocations: 1.017 MB / 490.2 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.5812, allocations: 0.5083 MB / 490.8 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5813, allocations: 90.45 kB / 490.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.5816, allocations: 123.9 kB / 491 MB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.5844, allocations: 1.122 MB / 492.1 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.5845, allocations: 7.984 kB / 492.1 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.5847, allocations: 51.94 kB / 492.1 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.5847, allocations: 35.95 kB / 492.2 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/0.588, allocations: 1.372 MB / 493.6 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.599, allocations: 4.862 MB / 498.4 MB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.6015, allocations: 1.155 MB / 499.6 MB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.6023, allocations: 351.2 kB / 499.9 MB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.6025, allocations: 93.88 kB / 0.4883 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.6025, allocations: 47.34 kB / 0.4883 GB, free: 8.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.276e-06/0.6026, allocations: 3.938 kB / 0.4883 GB, free: 8.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.001893/0.6045, allocations: 0.704 MB / 0.489 GB, free: 7.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.6045, allocations: 64.19 kB / 0.4891 GB, free: 7.293 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.6058, allocations: 0.6754 MB / 0.4897 GB, free: 6.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.6059, allocations: 41.7 kB / 0.4898 GB, free: 6.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.6063, allocations: 497.1 kB / 0.4903 GB, free: 6.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.6067, allocations: 315.4 kB / 0.4906 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.6068, allocations: 20 kB / 0.4906 GB, free: 5.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.607, allocations: 358.8 kB / 0.4909 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/0.6078, allocations: 314.6 kB / 0.4912 GB, free: 5.074 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.6089, allocations: 0.5673 MB / 0.4918 GB, free: 4.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/0.6099, allocations: 404.8 kB / 0.4922 GB, free: 4.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.61, allocations: 4 kB / 0.4922 GB, free: 4 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002692/0.6127, allocations: 1.068 MB / 0.4932 GB, free: 2.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.6127, allocations: 9.875 kB / 0.4932 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.6127, allocations: 8.812 kB / 0.4932 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.6131, allocations: 73.67 kB / 0.4933 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.6145, allocations: 259.6 kB / 0.4935 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.6174, allocations: 2.635 MB / 0.4961 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.6186, allocations: 150.3 kB / 0.4963 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.6187, allocations: 44 kB / 0.4963 GB, free: 15.48 MB / 442.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.0003342/0.6191, allocations: 176.7 kB / 0.4965 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.6193, allocations: 94.86 kB / 0.4966 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.6218, allocations: 1.062 MB / 0.4976 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6219, allocations: 8 kB / 0.4976 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.294e-06/0.6219, allocations: 0 / 0.4976 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.6219, allocations: 3.984 kB / 0.4976 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/0.6273, allocations: 2.663 MB / 0.5002 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.6273, allocations: 8.094 kB / 0.5002 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.6283, allocations: 187.7 kB / 0.5004 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003075/0.6286, allocations: 61.67 kB / 0.5005 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.6287, allocations: 24 kB / 0.5005 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.6315, allocations: 2.623 MB / 0.503 GB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.6315, allocations: 7.938 kB / 0.503 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.6348, allocations: 1.705 MB / 0.5047 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.6352, allocations: 203.8 kB / 0.5049 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6354, allocations: 31.98 kB / 0.5049 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/0.6363, allocations: 60.03 kB / 0.505 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.6365, allocations: 68.59 kB / 0.5051 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.6366, allocations: 36 kB / 0.5051 GB, free: 5.648 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009928/0.6376, allocations: 0.5382 MB / 0.5056 GB, free: 5.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.6376, allocations: 0 / 0.5056 GB, free: 5.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001357/0.639, allocations: 303.4 kB / 0.5059 GB, free: 4.82 MB / 442.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.000399/0.6394, allocations: 186.8 kB / 0.5061 GB, free: 4.629 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.6418, allocations: 1.024 MB / 0.5071 GB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.346e-06/0.6418, allocations: 0 / 0.5071 GB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6431, allocations: 0.6039 MB / 0.5077 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/0.644, allocations: 108.7 kB / 0.5078 GB, free: 2.848 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/0.6502, allocations: 1.864 MB / 0.5096 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008574/0.651, allocations: 1.012 MB / 0.5106 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.6516, allocations: 91.36 kB / 0.5107 GB, free: 15.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.876e-06/0.6516, allocations: 0 / 0.5107 GB, free: 15.75 MB / 458.7 MB Notification: Performance of Templates: time 0.2772/0.9288, allocations: 18.97 MB / 0.5292 GB, free: 126.1 MB / 458.7 MB