Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003488, allocations: 12 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2903, allocations: 44.5 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004682/0.295, allocations: 2.633 MB / 311.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.298, allocations: 1.174 MB / 312.4 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.2983, allocations: 11.94 kB / 312.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.2987, allocations: 87.5 kB / 312.5 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.2999, allocations: 318.9 kB / 312.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.3006, allocations: 203.4 kB / 313 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008543/0.3014, allocations: 315.2 kB / 313.3 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.3018, allocations: 119.3 kB / 313.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.302, allocations: 135.5 kB / 313.5 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.3024, allocations: 175.2 kB / 313.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.3025, allocations: 20 kB / 313.7 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.3029, allocations: 111.9 kB / 313.8 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.303, allocations: 59.75 kB / 313.9 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3032, allocations: 89.52 kB / 314 MB, free: 7.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.3038, allocations: 384 kB / 314.4 MB, free: 6.922 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3039, allocations: 0 / 314.4 MB, free: 6.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3039, allocations: 4 kB / 314.4 MB, free: 6.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3039, allocations: 0 / 314.4 MB, free: 6.918 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001967/0.3059, allocations: 0.6842 MB / 315 MB, free: 6.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3059, allocations: 8.031 kB / 315.1 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.3061, allocations: 74.53 kB / 315.1 MB, free: 6.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008772/0.3069, allocations: 95.47 kB / 315.2 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.3075, allocations: 303.2 kB / 315.5 MB, free: 5.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.3076, allocations: 29 kB / 315.5 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.3077, allocations: 28 kB / 315.6 MB, free: 5.609 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.3086, allocations: 361.3 kB / 315.9 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3087, allocations: 0 / 315.9 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.3087, allocations: 8 kB / 315.9 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3088, allocations: 12 kB / 315.9 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.3096, allocations: 258.1 kB / 316.2 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.3129, allocations: 1.331 MB / 317.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.3135, allocations: 197.2 kB / 317.7 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.3148, allocations: 0.8635 MB / 318.6 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3148, allocations: 38.56 kB / 318.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.604e-06/0.3148, allocations: 0 / 318.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008913/0.3157, allocations: 237.3 kB / 318.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3158, allocations: 77.11 kB / 318.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.3165, allocations: 291 kB / 319.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.3166, allocations: 29.7 kB / 319.2 MB, free: 1.664 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3168, allocations: 231.4 kB / 319.5 MB, free: 1.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/0.3169, allocations: 63.09 kB / 319.5 MB, free: 1.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.317, allocations: 12 kB / 319.5 MB, free: 1.359 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3171, allocations: 330.8 kB / 319.9 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3174, allocations: 76.61 kB / 319.9 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.3178, allocations: 202.3 kB / 320.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.3182, allocations: 99.92 kB / 320.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3182, allocations: 0 / 320.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009082/0.3191, allocations: 325.5 kB / 320.5 MB, free: 276 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.3191, allocations: 10.5 kB / 320.6 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3192, allocations: 11.89 kB / 320.6 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.3192, allocations: 8 kB / 320.6 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.3198, allocations: 79.89 kB / 320.7 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.3198, allocations: 4 kB / 320.7 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.3202, allocations: 43.59 kB / 320.7 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.3202, allocations: 24.17 kB / 320.7 MB, free: 96 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.3205, allocations: 157.7 kB / 320.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.3206, allocations: 27.72 kB / 320.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/0.3207, allocations: 25.73 kB / 320.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3207, allocations: 7.953 kB / 320.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3207, allocations: 4 kB / 320.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3207, allocations: 0 / 320.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3218, allocations: 0.5146 MB / 321.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3218, allocations: 3.984 kB / 321.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.3223, allocations: 43.98 kB / 321.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.3223, allocations: 7.891 kB / 321.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.3223, allocations: 7.984 kB / 321.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3223, allocations: 0 / 321.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3224, allocations: 4.031 kB / 321.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.3236, allocations: 431.3 kB / 321.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3238, allocations: 96.78 kB / 322 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.3239, allocations: 8 kB / 322 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.3243, allocations: 15.98 kB / 322.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.3244, allocations: 15.92 kB / 322.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3245, allocations: 7.984 kB / 322.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.3248, allocations: 198 kB / 322.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3248, allocations: 0 / 322.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007861/0.3256, allocations: 83.67 kB / 322.4 MB, free: 14.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.3269, allocations: 0.9738 MB / 323.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006721/0.3276, allocations: 199.9 kB / 323.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3276, allocations: 1.125 kB / 323.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.3279, allocations: 79.91 kB / 323.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3283, allocations: 28.81 kB / 323.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.3325, allocations: 1.828 MB / 325.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.333, allocations: 0.7833 MB / 326.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.3333, allocations: 34.95 kB / 326.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.3335, allocations: 99.41 kB / 326.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3335, allocations: 0 / 326.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.3647, allocations: 4.816 MB / 331.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003468/0.3651, allocations: 217.1 kB / 331.4 MB, free: 5.137 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.76, allocations: 3.906 kB / 331.4 MB, free: 5.133 MB / 266.7 MB "" Variables in the reference:time,converter_m.Phi.re,inductor_e.i Variables in the result:L,R,R_m,VRMS,converter_m.N.im,converter_m.N.re,converter_m.Phi.im,converter_m.Phi.re,converter_m.V_m.im,converter_m.V_m.re,converter_m.abs_Phi,converter_m.abs_V_m,converter_m.arg_Phi,converter_m.arg_V_m,converter_m.effectiveTurns,converter_m.i,converter_m.orientation,converter_m.pin_n.i,converter_m.pin_n.v,converter_m.pin_p.i,converter_m.pin_p.v,converter_m.port_n.Phi.im,converter_m.port_n.Phi.re,converter_m.port_n.V_m.im,converter_m.port_n.V_m.re,converter_m.port_p.Phi.im,converter_m.port_p.Phi.re,converter_m.port_p.V_m.im,converter_m.port_p.V_m.re,converter_m.v,der(converter_m.Phi.re),der(inductor_e.i),effectiveTurns,f,groundM_m.port_p.Phi.im,groundM_m.port_p.Phi.re,groundM_m.port_p.V_m.im,groundM_m.port_p.V_m.re,ground_e.p.i,ground_e.p.v,ground_m.p.i,ground_m.p.v,inductor_e.L,inductor_e.i,inductor_e.n.i,inductor_e.n.v,inductor_e.p.i,inductor_e.p.v,inductor_e.v,reluctance_m.Phi.im,reluctance_m.Phi.re,reluctance_m.R_m.d,reluctance_m.R_m.q,reluctance_m.V_m.im,reluctance_m.V_m.re,reluctance_m.abs_Phi,reluctance_m.abs_V_m,reluctance_m.arg_Phi,reluctance_m.arg_V_m,reluctance_m.port_n.Phi.im,reluctance_m.port_n.Phi.re,reluctance_m.port_n.V_m.im,reluctance_m.port_n.V_m.re,reluctance_m.port_p.Phi.im,reluctance_m.port_p.Phi.re,reluctance_m.port_p.V_m.im,reluctance_m.port_p.V_m.re,resistor_e.LossPower,resistor_e.R,resistor_e.R_actual,resistor_e.T,resistor_e.T_heatPort,resistor_e.T_ref,resistor_e.alpha,resistor_e.i,resistor_e.n.i,resistor_e.n.v,resistor_e.p.i,resistor_e.p.v,resistor_e.useHeatPort,resistor_e.v,resistor_m.LossPower,resistor_m.R,resistor_m.R_actual,resistor_m.T,resistor_m.T_heatPort,resistor_m.T_ref,resistor_m.alpha,resistor_m.i,resistor_m.n.i,resistor_m.n.v,resistor_m.p.i,resistor_m.p.v,resistor_m.useHeatPort,resistor_m.v,time,voltageSource_e.V,voltageSource_e.freqHz,voltageSource_e.i,voltageSource_e.n.i,voltageSource_e.n.v,voltageSource_e.offset,voltageSource_e.p.i,voltageSource_e.p.v,voltageSource_e.phase,voltageSource_e.signalSource.amplitude,voltageSource_e.signalSource.freqHz,voltageSource_e.signalSource.offset,voltageSource_e.signalSource.phase,voltageSource_e.signalSource.startTime,voltageSource_e.signalSource.y,voltageSource_e.startTime,voltageSource_e.v,voltageSource_m.V,voltageSource_m.freqHz,voltageSource_m.i,voltageSource_m.n.i,voltageSource_m.n.v,voltageSource_m.offset,voltageSource_m.p.i,voltageSource_m.p.v,voltageSource_m.phase,voltageSource_m.signalSource.amplitude,voltageSource_m.signalSource.freqHz,voltageSource_m.signalSource.offset,voltageSource_m.signalSource.phase,voltageSource_m.signalSource.startTime,voltageSource_m.signalSource.y,voltageSource_m.startTime,voltageSource_m.v