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 1.917/1.917, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005607/0.2858, allocations: 3.343 MB / 311.9 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.2893, allocations: 1.427 MB / 313.3 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.2895, allocations: 11.94 kB / 313.3 MB, free: 7.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.29, allocations: 127.2 kB / 313.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.2916, allocations: 0.4985 MB / 314 MB, free: 7.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.293, allocations: 434.7 kB / 314.4 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007391/0.2938, allocations: 391.2 kB / 314.8 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.2955, allocations: 0.6974 MB / 315.5 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.2959, allocations: 207.2 kB / 315.7 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.2964, allocations: 270.9 kB / 315.9 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.2965, allocations: 24 kB / 316 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.2971, allocations: 179.8 kB / 316.1 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2972, allocations: 91.59 kB / 316.2 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.2974, allocations: 117.5 kB / 316.3 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2984, allocations: 0.6165 MB / 317 MB, free: 4.195 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2984, allocations: 3.938 kB / 317 MB, free: 4.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2984, allocations: 0 / 317 MB, free: 4.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.2985, allocations: 0 / 317 MB, free: 4.191 MB / 250.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.003316/0.3018, allocations: 0.9212 MB / 317.9 MB, free: 3.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3019, allocations: 16.03 kB / 317.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/0.3021, allocations: 120.3 kB / 318 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006437/0.3086, allocations: 0.608 MB / 318.6 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000794/0.3094, allocations: 368.7 kB / 319 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.3095, allocations: 57.98 kB / 319 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3097, allocations: 64 kB / 319.1 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.3119, allocations: 0.8055 MB / 319.9 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.3119, allocations: 3.938 kB / 319.9 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.3121, allocations: 28 kB / 319.9 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.3121, allocations: 26 kB / 320 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.3147, allocations: 0.8433 MB / 320.8 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006166/0.3209, allocations: 2.727 MB / 323.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.324, allocations: 1.977 MB / 325.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3241, allocations: 89.53 kB / 325.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3242, allocations: 38.94 kB / 325.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.955e-06/0.3242, allocations: 0 / 325.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.003092/0.3273, allocations: 0.8407 MB / 326.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3273, allocations: 59.8 kB / 326.5 MB, free: 9.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.3278, allocations: 303.2 kB / 326.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.3279, allocations: 33.7 kB / 326.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.3281, allocations: 295.9 kB / 327.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.3283, allocations: 169.6 kB / 327.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3284, allocations: 12 kB / 327.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3285, allocations: 346.8 kB / 327.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.3293, allocations: 201.2 kB / 327.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/0.3302, allocations: 398.3 kB / 328.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.331, allocations: 243.9 kB / 328.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3311, allocations: 0 / 328.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002211/0.3333, allocations: 0.7156 MB / 329.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.3335, allocations: 263.8 kB / 329.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3335, allocations: 4.078 kB / 329.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.3339, allocations: 60.83 kB / 329.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3349, allocations: 143.8 kB / 329.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.337, allocations: 1.604 MB / 331.3 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.3376, allocations: 83.2 kB / 331.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.3377, allocations: 27.98 kB / 331.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.3377, allocations: 6.812 kB / 331.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/0.3397, allocations: 0.6405 MB / 332 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3397, allocations: 8 kB / 332 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.34, allocations: 56.77 kB / 332.1 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/0.341, allocations: 144.2 kB / 332.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.3428, allocations: 1.523 MB / 333.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.3434, allocations: 59.45 kB / 333.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.3435, allocations: 39.92 kB / 333.9 MB, free: 2.105 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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: 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.0003982/0.3439, allocations: 265.6 kB / 334.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.344, allocations: 35.72 kB / 334.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.3461, allocations: 0.622 MB / 334.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3462, allocations: 4 kB / 334.8 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3462, allocations: 4 kB / 334.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3462, allocations: 0 / 334.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.3495, allocations: 1.316 MB / 336.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3495, allocations: 0 / 336.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.3503, allocations: 91.88 kB / 336.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.3506, allocations: 48.83 kB / 336.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.3506, allocations: 15.98 kB / 336.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.3526, allocations: 1.596 MB / 337.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3526, allocations: 8 kB / 337.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.3553, allocations: 0.9286 MB / 338.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.3555, allocations: 152.5 kB / 338.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.3556, allocations: 8 kB / 338.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.3561, allocations: 27.98 kB / 339 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3563, allocations: 32.45 kB / 339 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.3564, allocations: 19.98 kB / 339 MB, free: 12.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003111/0.3567, allocations: 210 kB / 339.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3567, allocations: 4 kB / 339.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001318/0.358, allocations: 279.1 kB / 339.5 MB, free: 12.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (46): * Single equations (assignments): 45 * 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: 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.003179/0.3612, allocations: 1.501 MB / 341 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003142/0.3644, allocations: 1.122 MB / 342.1 MB, free: 9.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3644, allocations: 384 / 342.1 MB, free: 9.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3654, allocations: 405.1 kB / 342.5 MB, free: 9.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3659, allocations: 40.55 kB / 342.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007087/0.373, allocations: 2.952 MB / 345.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.3736, allocations: 0.8564 MB / 346.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.002381/0.376, allocations: 1.098 MB / 347.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.3764, allocations: 183.4 kB / 347.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3764, allocations: 0 / 347.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/0.4196, allocations: 8.961 MB / 356.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.42, allocations: 226.7 kB / 356.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.23, allocations: 4 kB / 356.8 MB, free: 10.66 MB / 298.7 MB