Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08116/0.08153, allocations: 44.5 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.476, allocations: 78.54 MB / 387 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4763, allocations: 82.27 kB / 387.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05793/0.5342, allocations: 17.71 MB / 404.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.247e-06/0.5343, allocations: 3.844 kB / 404.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5343, allocations: 7.656 kB / 404.8 MB, free: 15.99 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002178/0.5365, allocations: 0.8579 MB / 405.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5366, allocations: 7.875 kB / 405.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.5405, allocations: 446.5 kB / 406.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.5411, allocations: 355.8 kB / 406.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.5412, allocations: 47.75 kB / 406.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5413, allocations: 71.34 kB / 406.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.5431, allocations: 0.8209 MB / 407.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.5432, allocations: 3.438 kB / 407.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.5433, allocations: 28.84 kB / 407.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.5433, allocations: 15.41 kB / 407.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.5453, allocations: 0.8826 MB / 408.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008198/0.5535, allocations: 2.793 MB / 411.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.5566, allocations: 2.035 MB / 413.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.5567, allocations: 89.14 kB / 413.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5567, allocations: 42.02 kB / 413.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.981e-06/0.5568, allocations: 0 / 413.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.002557/0.5593, allocations: 1.083 MB / 414.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.5594, allocations: 81.36 kB / 414.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5597, allocations: 279 kB / 414.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.5598, allocations: 29.14 kB / 414.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5599, allocations: 339.6 kB / 415.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.5601, allocations: 181.5 kB / 415.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.5601, allocations: 10.94 kB / 415.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.5602, allocations: 337.2 kB / 415.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.5609, allocations: 235 kB / 415.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.5616, allocations: 437.6 kB / 416.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.5623, allocations: 272.8 kB / 416.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-06/0.5623, allocations: 3.938 kB / 416.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001879/0.5642, allocations: 0.7589 MB / 417.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000477/0.5647, allocations: 2.437 MB / 419.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5648, allocations: 7.719 kB / 419.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.5651, allocations: 65.25 kB / 419.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.5658, allocations: 151.4 kB / 419.9 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.5674, allocations: 1.596 MB / 421.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.568, allocations: 76.48 kB / 421.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.5681, allocations: 38.33 kB / 421.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5681, allocations: 8.469 kB / 421.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001675/0.5698, allocations: 0.6826 MB / 422.3 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.5699, allocations: 7.812 kB / 422.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.5701, allocations: 54.45 kB / 422.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.5708, allocations: 147 kB / 422.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.5726, allocations: 1.529 MB / 424.1 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.5731, allocations: 49.22 kB / 424.1 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.5731, allocations: 37.83 kB / 424.1 MB, free: 19.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004575/0.5736, allocations: 270.6 kB / 424.4 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.5737, allocations: 43.08 kB / 424.4 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.5754, allocations: 0.6727 MB / 425.1 MB, free: 19.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5755, allocations: 11.8 kB / 425.1 MB, free: 19.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.302e-06/0.5755, allocations: 4.281 kB / 425.1 MB, free: 19.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-06/0.5755, allocations: 0 / 425.1 MB, free: 19.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/0.5801, allocations: 1.389 MB / 426.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5801, allocations: 4 kB / 426.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.5807, allocations: 101.5 kB / 426.6 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.5809, allocations: 50.39 kB / 426.7 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.581, allocations: 19.34 kB / 426.7 MB, free: 18.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.5828, allocations: 1.593 MB / 428.3 MB, free: 16.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.55e-06/0.5828, allocations: 0 / 428.3 MB, free: 16.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.5852, allocations: 1.031 MB / 429.3 MB, free: 16.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.5855, allocations: 160.8 kB / 429.5 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.5856, allocations: 11.03 kB / 429.5 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.586, allocations: 31.55 kB / 429.5 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5861, allocations: 43.48 kB / 429.6 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.5862, allocations: 19.36 kB / 429.6 MB, free: 16.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.5864, allocations: 209.7 kB / 429.8 MB, free: 16.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5865, allocations: 0 / 429.8 MB, free: 16.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001349/0.5878, allocations: 282.1 kB / 430.1 MB, free: 16.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.5881, allocations: 152.8 kB / 430.2 MB, free: 16.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.5909, allocations: 1.199 MB / 431.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.939e-06/0.591, allocations: 3.875 kB / 431.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.5918, allocations: 427.6 kB / 431.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.5923, allocations: 41.7 kB / 431.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.5969, allocations: 1.809 MB / 433.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.5975, allocations: 0.8535 MB / 434.5 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.5978, allocations: 57.47 kB / 434.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.845e-06/0.5978, allocations: 0 / 434.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of Templates: time 0.01375/0.6116, allocations: 8.555 MB / 443.1 MB, free: 9.691 MB / 330.7 MB