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 2.22/2.22, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 8 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3188, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.4851, allocations: 73.92 MB / 382.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.4854, allocations: 75.95 kB / 382.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.5166, allocations: 7.253 MB / 389.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5166, allocations: 0 / 389.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.5167, allocations: 4 kB / 389.8 MB, free: 11.31 MB / 330.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.001247/0.5179, allocations: 0.5872 MB / 390.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.518, allocations: 8.031 kB / 390.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.5181, allocations: 58.53 kB / 390.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.5182, allocations: 35.61 kB / 390.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.5189, allocations: 251.4 kB / 390.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.519, allocations: 57.69 kB / 390.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.5191, allocations: 16 kB / 390.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008993/0.52, allocations: 264.9 kB / 391.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.52, allocations: 0 / 391.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.5201, allocations: 8 kB / 391.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5201, allocations: 8 kB / 391.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.521, allocations: 220 kB / 391.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.5232, allocations: 0.7604 MB / 392.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5243, allocations: 307.4 kB / 392.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5243, allocations: 0 / 392.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008403/0.5252, allocations: 337.5 kB / 392.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.725e-06/0.5252, allocations: 0 / 392.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.002148/0.5273, allocations: 0.7546 MB / 393.5 MB, free: 7.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/0.5276, allocations: 203.9 kB / 393.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5278, allocations: 165.3 kB / 393.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.5279, allocations: 41.7 kB / 393.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.528, allocations: 136.7 kB / 394 MB, free: 6.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.5282, allocations: 82.92 kB / 394.1 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.5282, allocations: 8 kB / 394.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5284, allocations: 334.8 kB / 394.4 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.5288, allocations: 108.7 kB / 394.5 MB, free: 6.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.5293, allocations: 208.3 kB / 394.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.5298, allocations: 191.3 kB / 394.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5298, allocations: 4 kB / 394.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00125/0.5311, allocations: 428.4 kB / 395.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.5312, allocations: 59.41 kB / 395.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5312, allocations: 4 kB / 395.4 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.5313, allocations: 7.953 kB / 395.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.5316, allocations: 47.84 kB / 395.4 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.5316, allocations: 4 kB / 395.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.532, allocations: 31.89 kB / 395.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.5321, allocations: 20 kB / 395.5 MB, free: 5.191 MB / 330.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.0003843/0.5325, allocations: 240.2 kB / 395.7 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.5325, allocations: 23.81 kB / 395.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.5326, allocations: 22.59 kB / 395.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5326, allocations: 7.953 kB / 395.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5327, allocations: 0 / 395.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5327, allocations: 7.984 kB / 395.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.5348, allocations: 0.8941 MB / 396.7 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5348, allocations: 4 kB / 396.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.535, allocations: 27.91 kB / 396.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5351, allocations: 0 / 396.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.5351, allocations: 15.94 kB / 396.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5351, allocations: 8 kB / 396.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5351, allocations: 3.938 kB / 396.7 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.5367, allocations: 0.616 MB / 397.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5369, allocations: 104.8 kB / 397.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.537, allocations: 16 kB / 397.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.5374, allocations: 31.86 kB / 397.5 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.5375, allocations: 27.97 kB / 397.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.5375, allocations: 15.98 kB / 397.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5377, allocations: 123.2 kB / 397.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5377, allocations: 0 / 397.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005304/0.5383, allocations: 79.91 kB / 397.7 MB, free: 2.797 MB / 330.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.002068/0.5403, allocations: 1.187 MB / 398.9 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.5417, allocations: 447 kB / 399.4 MB, free: 1.113 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5417, allocations: 3.938 kB / 399.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008778/0.5426, allocations: 413.7 kB / 399.8 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5436, allocations: 128.1 kB / 399.9 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.5484, allocations: 3.17 MB / 403.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.5489, allocations: 0.7565 MB / 403.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.5493, allocations: 53.89 kB / 403.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.5495, allocations: 67.41 kB / 403.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5495, allocations: 0 / 403.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.58, allocations: 5.788 MB / 409.7 MB, free: 6.629 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/0.5804, allocations: 179.6 kB / 409.9 MB, free: 6.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/3.298, allocations: 0 / 409.9 MB, free: 6.391 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat