Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003594, allocations: 20 kB / 264 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003369/0.2923, allocations: 1.92 MB / 310.5 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.294, allocations: 0.6713 MB / 311.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2941, allocations: 0 / 311.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2942, allocations: 23.84 kB / 311.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2944, allocations: 59.8 kB / 311.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.2948, allocations: 67.8 kB / 311.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.2951, allocations: 175.5 kB / 311.5 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.2954, allocations: 93.23 kB / 311.6 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.2956, allocations: 91.7 kB / 311.7 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.2959, allocations: 95.58 kB / 311.7 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.961e-05/0.2959, allocations: 12 kB / 311.8 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.258e-05/0.296, allocations: 8 kB / 311.8 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.2961, allocations: 39.84 kB / 311.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.2962, allocations: 65.58 kB / 311.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.2965, allocations: 208.4 kB / 312.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2965, allocations: 0 / 312.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.999e-06/0.2966, allocations: 0 / 312.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2966, allocations: 3.938 kB / 312.1 MB, free: 9.223 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001286/0.2979, allocations: 0.5959 MB / 312.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2979, allocations: 8.031 kB / 312.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.298, allocations: 62.53 kB / 312.7 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.2981, allocations: 27.72 kB / 312.8 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.2985, allocations: 251.2 kB / 313 MB, free: 8.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/0.2986, allocations: 49.7 kB / 313.1 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.2987, allocations: 20 kB / 313.1 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009438/0.2997, allocations: 264.1 kB / 313.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2997, allocations: 0 / 313.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.2998, allocations: 4 kB / 313.3 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2998, allocations: 4 kB / 313.3 MB, free: 7.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.3006, allocations: 220.3 kB / 313.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.3027, allocations: 0.7756 MB / 314.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.3037, allocations: 311.3 kB / 314.6 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3038, allocations: 0 / 314.6 MB, free: 6.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/0.3046, allocations: 329.4 kB / 315 MB, free: 6.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.3046, allocations: 0 / 315 MB, free: 6.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.002067/0.3067, allocations: 0.7587 MB / 315.7 MB, free: 5.297 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.3069, allocations: 211.8 kB / 315.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3071, allocations: 178.3 kB / 316.1 MB, free: 4.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.3072, allocations: 37.7 kB / 316.1 MB, free: 4.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3073, allocations: 136.7 kB / 316.3 MB, free: 4.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3074, allocations: 79 kB / 316.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.3075, allocations: 7.938 kB / 316.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3076, allocations: 338.8 kB / 316.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.3081, allocations: 112.7 kB / 316.8 MB, free: 4.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.3086, allocations: 204.3 kB / 317 MB, free: 3.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.3091, allocations: 183.3 kB / 317.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3091, allocations: 0 / 317.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001209/0.3104, allocations: 432.7 kB / 317.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.3105, allocations: 63.39 kB / 317.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3105, allocations: 4 kB / 317.7 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3105, allocations: 4 kB / 317.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.3109, allocations: 43.86 kB / 317.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3109, allocations: 7.953 kB / 317.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.3112, allocations: 47.7 kB / 317.8 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.3113, allocations: 19.98 kB / 317.8 MB, free: 3.074 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],dA_Converter.x[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],dA_Converter.x[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],dA_Converter.x[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],dA_Converter.x[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],dA_Converter.x[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],dA_Converter.x[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,dA_Converter.trig,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0003606/0.3117, allocations: 235.7 kB / 318 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.3118, allocations: 23.81 kB / 318 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.3119, allocations: 22.64 kB / 318.1 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3119, allocations: 8 kB / 318.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3119, allocations: 192 / 318.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3119, allocations: 3.953 kB / 318.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.3139, allocations: 0.9093 MB / 319 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.314, allocations: 0 / 319 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3142, allocations: 23.92 kB / 319 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.3142, allocations: 11.98 kB / 319 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.3143, allocations: 8 kB / 319 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.3143, allocations: 7.938 kB / 319 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3143, allocations: 0 / 319 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3159, allocations: 0.6196 MB / 319.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3161, allocations: 96.77 kB / 319.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.3162, allocations: 27.98 kB / 319.8 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3166, allocations: 23.98 kB / 319.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3167, allocations: 27.86 kB / 319.8 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.3168, allocations: 15.98 kB / 319.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3169, allocations: 127.2 kB / 320 MB, free: 0.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.317, allocations: 0 / 320 MB, free: 0.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005073/0.3175, allocations: 68 kB / 320 MB, free: 0.6836 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.002021/0.3195, allocations: 1.202 MB / 321.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3208, allocations: 446.4 kB / 321.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3209, allocations: 0 / 321.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008421/0.3217, allocations: 413.6 kB / 322.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.3227, allocations: 117.5 kB / 322.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.3267, allocations: 1.527 MB / 323.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3272, allocations: 0.7565 MB / 324.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.3275, allocations: 58.53 kB / 324.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3277, allocations: 67.41 kB / 324.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3277, allocations: 3.938 kB / 324.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.3622, allocations: 5.761 MB / 330.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.3626, allocations: 179.6 kB / 330.5 MB, free: 5.957 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/2.836, allocations: 64 / 330.5 MB, free: 5.957 MB / 266.7 MB "" Variables in the reference:time,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,dA_Converter.vout,dA_Converter.y,pulse.T0,pulse.np Variables in the result:N,aD_Converter.N,aD_Converter.Rin,aD_Converter.VRefHigh,aD_Converter.VRefLow,aD_Converter.n.i,aD_Converter.n.v,aD_Converter.p.i,aD_Converter.p.v,aD_Converter.trig,aD_Converter.u,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,dA_Converter.N,dA_Converter.Vref,dA_Converter.n.i,dA_Converter.n.v,dA_Converter.p.i,dA_Converter.p.v,dA_Converter.trig,dA_Converter.vout,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.y,ground.p.i,ground.p.v,pulse.T0,pulse.np,pulse.nperiod,pulse.period,pulse.pulse,pulse.quiet,pulse.sampling,pulse.startTime,pulse.width,pulse.y,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,sineVoltage.V,sineVoltage.freqHz,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.offset,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.signalSource.y,sineVoltage.startTime,sineVoltage.v,time