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.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004713, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2828, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005221/0.288, allocations: 3.066 MB / 311.6 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2912, allocations: 1.302 MB / 312.9 MB, free: 8.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.2915, allocations: 8 kB / 312.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004473/0.292, allocations: 123.3 kB / 313.1 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.2936, allocations: 482.6 kB / 313.5 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2947, allocations: 343 kB / 313.9 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.2954, allocations: 339.3 kB / 314.2 MB, free: 6.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.2971, allocations: 0.633 MB / 314.8 MB, free: 6.328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.2975, allocations: 171.3 kB / 315 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.2979, allocations: 243.1 kB / 315.2 MB, free: 5.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.298, allocations: 27.94 kB / 315.3 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.2985, allocations: 143.8 kB / 315.4 MB, free: 5.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2986, allocations: 87.66 kB / 315.5 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2988, allocations: 101.5 kB / 315.6 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.2996, allocations: 0.5073 MB / 316.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2996, allocations: 0 / 316.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.2997, allocations: 3.984 kB / 316.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.2997, allocations: 0 / 316.1 MB, free: 5.051 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002934/0.3026, allocations: 0.8427 MB / 316.9 MB, free: 4.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3027, allocations: 8.031 kB / 316.9 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000216/0.3029, allocations: 107.7 kB / 317.1 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006407/0.3093, allocations: 0.5925 MB / 317.6 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.3099, allocations: 310.3 kB / 317.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.31, allocations: 45.31 kB / 318 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3101, allocations: 63.98 kB / 318.1 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.3117, allocations: 0.5492 MB / 318.6 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.3118, allocations: 8 kB / 318.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.3119, allocations: 20 kB / 318.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3119, allocations: 12 kB / 318.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3138, allocations: 0.6415 MB / 319.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.3187, allocations: 2.061 MB / 321.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.3227, allocations: 3.007 MB / 324.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.3229, allocations: 93.52 kB / 324.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.323, allocations: 42.89 kB / 324.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.437e-06/0.323, allocations: 4 kB / 324.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.003249/0.3262, allocations: 0.7938 MB / 325.3 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3263, allocations: 55.84 kB / 325.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.3266, allocations: 219 kB / 325.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.3267, allocations: 33.7 kB / 325.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3269, allocations: 240.1 kB / 325.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.3271, allocations: 165.5 kB / 326 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.3271, allocations: 8 kB / 326 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3273, allocations: 338.8 kB / 326.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.3278, allocations: 165 kB / 326.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.3285, allocations: 277.9 kB / 326.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.3291, allocations: 200.7 kB / 326.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3291, allocations: 0 / 326.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001798/0.331, allocations: 0.59 MB / 327.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.331, allocations: 4 kB / 327.5 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.331, allocations: 4.312 kB / 327.5 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.3316, allocations: 100.7 kB / 327.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.3324, allocations: 111.8 kB / 327.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.3353, allocations: 1.862 MB / 329.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.3359, allocations: 59.36 kB / 329.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.3359, allocations: 27.94 kB / 329.7 MB, free: 6.355 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002981/0.3363, allocations: 169.7 kB / 329.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.3364, allocations: 27.67 kB / 329.9 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.3382, allocations: 0.5668 MB / 330.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.3382, allocations: 4 kB / 330.5 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3382, allocations: 4 kB / 330.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3383, allocations: 3.984 kB / 330.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.341, allocations: 1.157 MB / 331.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3411, allocations: 0 / 331.6 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.3417, allocations: 83.89 kB / 331.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.3422, allocations: 80.81 kB / 331.8 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3423, allocations: 15.98 kB / 331.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/0.3452, allocations: 1.858 MB / 333.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3452, allocations: 0 / 333.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.3475, allocations: 0.8077 MB / 334.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3477, allocations: 116.7 kB / 334.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.3477, allocations: 19.94 kB / 334.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.3482, allocations: 23.98 kB / 334.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3483, allocations: 40.27 kB / 334.7 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.3483, allocations: 12 kB / 334.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.3485, allocations: 139.2 kB / 334.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3486, allocations: 192 / 334.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008349/0.3494, allocations: 155.6 kB / 335 MB, free: 0.832 MB / 266.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 (44): * Single equations (assignments): 43 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/0.3522, allocations: 1.392 MB / 336.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.354, allocations: 0.6086 MB / 337 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.354, allocations: 0 / 337 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009848/0.355, allocations: 393.8 kB / 337.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3554, allocations: 24.14 kB / 337.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.3607, allocations: 2.279 MB / 339.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.3612, allocations: 0.8367 MB / 340.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003946/0.3616, allocations: 51.27 kB / 340.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.362, allocations: 143.4 kB / 340.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.362, allocations: 0 / 340.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.3982, allocations: 7.042 MB / 347.7 MB, free: 3.934 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/0.3986, allocations: 234.9 kB / 348 MB, free: 3.684 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.076, allocations: 0 / 348 MB, free: 3.684 MB / 282.7 MB "" Variables in the reference:time,inductor.pin_p.reference.gamma Variables in the result:I_abs,I_arg,V.k,V.y,capacitor.C,capacitor.P,capacitor.Q,capacitor.S,capacitor.abs_i,capacitor.abs_v,capacitor.arg_i,capacitor.arg_v,capacitor.i.im,capacitor.i.re,capacitor.omega,capacitor.pf,capacitor.pin_n.i.im,capacitor.pin_n.i.re,capacitor.pin_n.reference.gamma,capacitor.pin_n.v.im,capacitor.pin_n.v.re,capacitor.pin_p.i.im,capacitor.pin_p.i.re,capacitor.pin_p.reference.gamma,capacitor.pin_p.v.im,capacitor.pin_p.v.re,capacitor.v.im,capacitor.v.re,complexToPolar.len,complexToPolar.phi,complexToPolar.u.im,complexToPolar.u.re,complexToPolar.useConjugateInput,currentSensor.P,currentSensor.Q,currentSensor.S,currentSensor.abs_i,currentSensor.abs_v,currentSensor.abs_y,currentSensor.arg_i,currentSensor.arg_v,currentSensor.arg_y,currentSensor.i.im,currentSensor.i.re,currentSensor.omega,currentSensor.pf,currentSensor.pin_n.i.im,currentSensor.pin_n.i.re,currentSensor.pin_n.reference.gamma,currentSensor.pin_n.v.im,currentSensor.pin_n.v.re,currentSensor.pin_p.i.im,currentSensor.pin_p.i.re,currentSensor.pin_p.reference.gamma,currentSensor.pin_p.v.im,currentSensor.pin_p.v.re,currentSensor.v.im,currentSensor.v.re,currentSensor.y.im,currentSensor.y.re,der(voltageSource.pin_p.reference.gamma),f.duration,f.height,f.offset,f.startTime,f.y,ground.pin.i.im,ground.pin.i.re,ground.pin.reference.gamma,ground.pin.v.im,ground.pin.v.re,inductor.L,inductor.P,inductor.Q,inductor.S,inductor.abs_i,inductor.abs_v,inductor.arg_i,inductor.arg_v,inductor.i.im,inductor.i.re,inductor.omega,inductor.pf,inductor.pin_n.i.im,inductor.pin_n.i.re,inductor.pin_n.reference.gamma,inductor.pin_n.v.im,inductor.pin_n.v.re,inductor.pin_p.i.im,inductor.pin_p.i.re,inductor.pin_p.reference.gamma,inductor.pin_p.v.im,inductor.pin_p.v.re,inductor.v.im,inductor.v.re,phi.k,phi.y,polarToComplex.len,polarToComplex.phi,polarToComplex.y.im,polarToComplex.y.re,resistor.LossPower,resistor.P,resistor.Q,resistor.R_actual,resistor.R_ref,resistor.S,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.abs_i,resistor.abs_v,resistor.alpha_ref,resistor.arg_i,resistor.arg_v,resistor.i.im,resistor.i.re,resistor.omega,resistor.pf,resistor.pin_n.i.im,resistor.pin_n.i.re,resistor.pin_n.reference.gamma,resistor.pin_n.v.im,resistor.pin_n.v.re,resistor.pin_p.i.im,resistor.pin_p.i.re,resistor.pin_p.reference.gamma,resistor.pin_p.v.im,resistor.pin_p.v.re,resistor.useHeatPort,resistor.v.im,resistor.v.re,time,voltageSource.P,voltageSource.Q,voltageSource.S,voltageSource.V.im,voltageSource.V.re,voltageSource.abs_i,voltageSource.abs_v,voltageSource.arg_i,voltageSource.arg_v,voltageSource.f,voltageSource.gamma,voltageSource.i.im,voltageSource.i.re,voltageSource.omega,voltageSource.pf,voltageSource.pin_n.i.im,voltageSource.pin_n.i.re,voltageSource.pin_n.reference.gamma,voltageSource.pin_n.v.im,voltageSource.pin_n.v.re,voltageSource.pin_p.i.im,voltageSource.pin_p.i.re,voltageSource.pin_p.reference.gamma,voltageSource.pin_p.v.im,voltageSource.pin_p.v.re,voltageSource.v.im,voltageSource.v.re