Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01006/0.01006, allocations: 165.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.299/1.299, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001534/0.001534, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08019/0.292, allocations: 68.83 MB / 381.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.2922, allocations: 75.97 kB / 381.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01964/0.3119, allocations: 7.3 MB / 389.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3119, allocations: 4 kB / 389.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.3119, allocations: 4 kB / 389.1 MB, free: 14.3 MB / 298.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.001123/0.3131, allocations: 0.5887 MB / 389.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3131, allocations: 8.031 kB / 389.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.3133, allocations: 31.72 kB / 389.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.3139, allocations: 259.1 kB / 390 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.314, allocations: 53.69 kB / 390 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.3141, allocations: 16 kB / 390 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.3149, allocations: 272.3 kB / 390.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.315, allocations: 0 / 390.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.315, allocations: 8 kB / 390.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.315, allocations: 7.984 kB / 390.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.3158, allocations: 220.2 kB / 390.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3176, allocations: 0.7679 MB / 391.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008026/0.3184, allocations: 307.4 kB / 391.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3185, allocations: 3.938 kB / 391.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008682/0.3194, allocations: 329.4 kB / 391.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.3194, allocations: 0 / 391.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001753/0.3212, allocations: 0.7577 MB / 392.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.3213, allocations: 199.9 kB / 392.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3215, allocations: 170.5 kB / 393.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.3216, allocations: 37.69 kB / 393.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3217, allocations: 128.8 kB / 393.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.3218, allocations: 82.98 kB / 393.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.3218, allocations: 12 kB / 393.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.322, allocations: 338.9 kB / 393.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.3223, allocations: 104.7 kB / 393.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.3228, allocations: 213.5 kB / 393.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.3232, allocations: 195.3 kB / 394.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3232, allocations: 3.938 kB / 394.1 MB, free: 8.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009804/0.3242, allocations: 424.4 kB / 394.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.3243, allocations: 61.59 kB / 394.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3243, allocations: 0 / 394.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.3243, allocations: 8 kB / 394.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.3246, allocations: 47.84 kB / 394.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.3246, allocations: 8.094 kB / 394.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.3249, allocations: 31.83 kB / 394.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.325, allocations: 16 kB / 394.7 MB, free: 8.246 MB / 298.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.0002998/0.3253, allocations: 243.7 kB / 395 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.3254, allocations: 24.14 kB / 395 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.3254, allocations: 22.66 kB / 395 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3255, allocations: 7.984 kB / 395 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3255, allocations: 0 / 395 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3255, allocations: 7.922 kB / 395 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.3272, allocations: 0.8969 MB / 395.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3273, allocations: 4 kB / 395.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3274, allocations: 27.98 kB / 396 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3274, allocations: 0 / 396 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.3275, allocations: 8 kB / 396 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.3275, allocations: 4 kB / 396 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3275, allocations: 4.188 kB / 396 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.3288, allocations: 0.6293 MB / 396.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.329, allocations: 124.7 kB / 396.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.899e-05/0.3291, allocations: 19.98 kB / 396.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.3294, allocations: 27.98 kB / 396.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.3295, allocations: 19.97 kB / 396.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.3295, allocations: 11.98 kB / 396.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3297, allocations: 131.2 kB / 396.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3297, allocations: 0 / 396.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00058/0.3303, allocations: 75.84 kB / 397 MB, free: 5.836 MB / 298.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.0002275/0.3305, allocations: 144.7 kB / 397.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3316, allocations: 446.5 kB / 397.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3316, allocations: 0 / 397.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.3323, allocations: 414 kB / 398 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.333, allocations: 116.5 kB / 398.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3343, allocations: 0.6016 MB / 398.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3347, allocations: 0.7526 MB / 399.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.335, allocations: 57.88 kB / 399.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.3351, allocations: 27.42 kB / 399.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3351, allocations: 0 / 399.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of Templates: time 0.009489/0.3446, allocations: 3.78 MB / 403.3 MB, free: 15.44 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1)