Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.8 MB / 211.1 MB, free: 8.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007504/0.0007505, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3002, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4441, allocations: 78.55 MB / 387.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.4444, allocations: 79.95 kB / 387.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07862/0.5231, allocations: 17.72 MB / 404.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5231, allocations: 0 / 404.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.671e-05/0.5232, allocations: 16 kB / 404.9 MB, free: 12.02 MB / 346.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.002972/0.5262, allocations: 0.8506 MB / 405.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.5262, allocations: 12.03 kB / 405.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003668/0.5266, allocations: 116.5 kB / 405.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.532, allocations: 458.8 kB / 406.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.5331, allocations: 357.5 kB / 406.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.5332, allocations: 54 kB / 406.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.5335, allocations: 64 kB / 406.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.537, allocations: 0.8289 MB / 407.6 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.537, allocations: 3.906 kB / 407.7 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.5372, allocations: 32 kB / 407.7 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.5373, allocations: 16 kB / 407.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.5414, allocations: 0.8824 MB / 408.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009153/0.5506, allocations: 2.797 MB / 411.4 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/0.5553, allocations: 2.029 MB / 413.4 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.5556, allocations: 93.88 kB / 413.5 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.5557, allocations: 43 kB / 413.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 4.529e-06/0.5557, allocations: 0 / 413.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.004943/0.5607, allocations: 1.074 MB / 414.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5608, allocations: 89.47 kB / 414.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.5615, allocations: 270 kB / 415 MB, free: 1.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.5616, allocations: 37.7 kB / 415 MB, free: 1.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.562, allocations: 291.6 kB / 415.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.5622, allocations: 177.5 kB / 415.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.5623, allocations: 12 kB / 415.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.5626, allocations: 346.8 kB / 415.8 MB, free: 388 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.5637, allocations: 233.2 kB / 416 MB, free: 152 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2651/0.8288, allocations: 433.8 kB / 416.5 MB, free: 88.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.8304, allocations: 274 kB / 416.7 MB, free: 88.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.8304, allocations: 1.969 kB / 416.7 MB, free: 88.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003523/0.8339, allocations: 0.7777 MB / 417.5 MB, free: 88.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006649/0.8346, allocations: 2.438 MB / 420 MB, free: 86.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.8347, allocations: 6.578 kB / 420 MB, free: 86.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/0.8352, allocations: 59.45 kB / 420 MB, free: 86.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.8367, allocations: 145.4 kB / 420.2 MB, free: 86.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.8391, allocations: 1.607 MB / 421.8 MB, free: 84.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.8402, allocations: 85.84 kB / 421.8 MB, free: 84.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.8403, allocations: 34.36 kB / 421.9 MB, free: 84.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8403, allocations: 5.156 kB / 421.9 MB, free: 84.73 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002901/0.8433, allocations: 0.6767 MB / 422.6 MB, free: 84.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.8433, allocations: 3.938 kB / 422.6 MB, free: 84.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.8437, allocations: 55.39 kB / 422.6 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.845, allocations: 143.5 kB / 422.8 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.8473, allocations: 1.535 MB / 424.3 MB, free: 83.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000953/0.8482, allocations: 71.98 kB / 424.4 MB, free: 83.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.8484, allocations: 33.64 kB / 424.4 MB, free: 83.43 MB / 346.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.0005647/0.849, allocations: 263.7 kB / 424.7 MB, free: 83.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.8491, allocations: 33.06 kB / 424.7 MB, free: 83.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.852, allocations: 0.6804 MB / 425.4 MB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.852, allocations: 6.547 kB / 425.4 MB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8521, allocations: 5.922 kB / 425.4 MB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.8521, allocations: 4 kB / 425.4 MB, free: 83.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.8563, allocations: 1.408 MB / 426.8 MB, free: 82.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.8564, allocations: 0 / 426.8 MB, free: 82.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.8574, allocations: 99.41 kB / 426.9 MB, free: 82.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.8578, allocations: 49.45 kB / 426.9 MB, free: 82.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.8579, allocations: 19.16 kB / 427 MB, free: 82.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.8602, allocations: 1.597 MB / 428.6 MB, free: 81.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8602, allocations: 0 / 428.6 MB, free: 81.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.8642, allocations: 1.025 MB / 429.6 MB, free: 81.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.8646, allocations: 158.7 kB / 429.7 MB, free: 81.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.8648, allocations: 10.97 kB / 429.7 MB, free: 81.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.8655, allocations: 33.09 kB / 429.8 MB, free: 81.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.8657, allocations: 40.7 kB / 429.8 MB, free: 81.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/0.8658, allocations: 16.78 kB / 429.8 MB, free: 81.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00037/0.8662, allocations: 206.1 kB / 430 MB, free: 81.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8662, allocations: 0 / 430 MB, free: 81.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002412/0.8686, allocations: 295.3 kB / 430.3 MB, free: 81.04 MB / 346.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.004395/0.8731, allocations: 1.618 MB / 431.9 MB, free: 80.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004415/0.8775, allocations: 1.209 MB / 433.1 MB, free: 79.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8776, allocations: 0 / 433.1 MB, free: 79.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.879, allocations: 435.9 kB / 433.6 MB, free: 79.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.8798, allocations: 39.12 kB / 433.6 MB, free: 79.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.8934, allocations: 7.641 MB / 441.3 MB, free: 73.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.8939, allocations: 0.8562 MB / 442.1 MB, free: 72.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002849/0.8967, allocations: 1.096 MB / 443.2 MB, free: 72.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/0.8974, allocations: 181.6 kB / 443.4 MB, free: 72.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8974, allocations: 0 / 443.4 MB, free: 72.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.9402, allocations: 9.541 MB / 452.9 MB, free: 67.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.9405, allocations: 233.1 kB / 453.2 MB, free: 67.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/3.946, allocations: 0 / 453.2 MB, free: 67.18 MB / 346.7 MB