Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08658, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.4531, allocations: 68.82 MB / 341 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.4534, allocations: 74.45 kB / 341 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02991/0.4834, allocations: 7.303 MB / 348.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4834, allocations: 4 kB / 348.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.4834, allocations: 4 kB / 348.3 MB, free: 14.28 MB / 282.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.001207/0.4847, allocations: 0.5943 MB / 348.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4847, allocations: 8.031 kB / 348.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.092e-05/0.4848, allocations: 57.61 kB / 349 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.4849, allocations: 27.72 kB / 349 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.4855, allocations: 261.1 kB / 349.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.4856, allocations: 48.95 kB / 349.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.4857, allocations: 15.5 kB / 349.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008663/0.4865, allocations: 267.3 kB / 349.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4866, allocations: 0 / 349.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.4866, allocations: 7.812 kB / 349.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4866, allocations: 4 kB / 349.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.4875, allocations: 222.4 kB / 349.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.4895, allocations: 0.7724 MB / 350.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/0.4904, allocations: 307.2 kB / 350.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4905, allocations: 8 kB / 350.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008079/0.4913, allocations: 323.9 kB / 351.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/0.4913, allocations: 4 kB / 351.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.002084/0.4934, allocations: 0.7574 MB / 352 MB, free: 10.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.4936, allocations: 207.3 kB / 352.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.4938, allocations: 170.5 kB / 352.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.4939, allocations: 36.27 kB / 352.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.4941, allocations: 129.5 kB / 352.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4942, allocations: 90.48 kB / 352.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.4942, allocations: 3.5 kB / 352.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4944, allocations: 329.3 kB / 352.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.4948, allocations: 113.9 kB / 353 MB, free: 9.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.4953, allocations: 204.4 kB / 353.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.4958, allocations: 191.7 kB / 353.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.4958, allocations: 0 / 353.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001177/0.497, allocations: 435.8 kB / 353.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.4971, allocations: 60.02 kB / 353.9 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4971, allocations: 4 kB / 353.9 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.4972, allocations: 4 kB / 353.9 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.4975, allocations: 51.7 kB / 354 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.4975, allocations: 11.98 kB / 354 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.4979, allocations: 35.28 kB / 354 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.498, allocations: 15.19 kB / 354 MB, free: 8.977 MB / 282.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,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$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.000354/0.4983, allocations: 236.1 kB / 354.3 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.4984, allocations: 27.75 kB / 354.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.4985, allocations: 25.27 kB / 354.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4985, allocations: 0 / 354.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4985, allocations: 0 / 354.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4985, allocations: 0 / 354.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.5005, allocations: 0.9029 MB / 355.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5005, allocations: 0 / 355.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.5007, allocations: 27.3 kB / 355.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.5007, allocations: 4 kB / 355.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.5008, allocations: 11.62 kB / 355.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5008, allocations: 0 / 355.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5008, allocations: 0 / 355.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5024, allocations: 0.6227 MB / 355.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.5026, allocations: 135.7 kB / 356 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.5027, allocations: 11.75 kB / 356 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.5031, allocations: 31.59 kB / 356.1 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5032, allocations: 23.34 kB / 356.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.5032, allocations: 15.23 kB / 356.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.5034, allocations: 133 kB / 356.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5034, allocations: 0 / 356.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.5039, allocations: 85.84 kB / 356.3 MB, free: 6.914 MB / 282.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.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,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.001913/0.5059, allocations: 1.186 MB / 357.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.5071, allocations: 449.3 kB / 357.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5071, allocations: 0 / 357.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.5079, allocations: 421.3 kB / 358.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.5088, allocations: 118 kB / 358.5 MB, free: 4.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.5131, allocations: 3.19 MB / 361.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.5136, allocations: 0.7503 MB / 362.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.5139, allocations: 57.88 kB / 362.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5141, allocations: 71.66 kB / 362.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5141, allocations: 0 / 362.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.5485, allocations: 5.783 MB / 368.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/0.5489, allocations: 191.2 kB / 368.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.197, allocations: 0 / 368.5 MB, free: 11.11 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat