Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001302/0.001302, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.417/1.417, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001632/0.001632, allocations: 124 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.809e-05, allocations: 7.938 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08049, allocations: 44.49 MB / 342.6 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2902/0.3708, allocations: 73.17 MB / 415.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.3711, allocations: 74.55 kB / 415.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.3865, allocations: 7.21 MB / 423 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3865, allocations: 0 / 423 MB, free: 9.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3865, allocations: 3.844 kB / 423 MB, free: 9.633 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.0006211/0.3872, allocations: 0.5687 MB / 423.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3872, allocations: 11.53 kB / 423.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.3873, allocations: 31.17 kB / 423.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3876, allocations: 246.5 kB / 423.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.3877, allocations: 48.72 kB / 423.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3877, allocations: 11.53 kB / 423.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002452/0.388, allocations: 155 kB / 424.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.3883, allocations: 209.7 kB / 424.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3883, allocations: 3.938 kB / 424.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.3883, allocations: 7.734 kB / 424.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3883, allocations: 3.812 kB / 424.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3895, allocations: 0.7208 MB / 425 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3897, allocations: 248.5 kB / 425.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3899, allocations: 192.3 kB / 425.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.39, allocations: 0 / 425.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.3903, allocations: 285.4 kB / 425.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.3903, allocations: 4 kB / 425.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004354/0.3907, allocations: 317.8 kB / 426 MB, free: 7.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3908, allocations: 228.5 kB / 426.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.3909, allocations: 156.7 kB / 426.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3909, allocations: 33.5 kB / 426.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.391, allocations: 130.2 kB / 426.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.391, allocations: 72.84 kB / 426.7 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.3911, allocations: 0 / 426.7 MB, free: 7.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.3911, allocations: 337.5 kB / 427 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3912, allocations: 78.92 kB / 427.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3914, allocations: 179.2 kB / 427.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3915, allocations: 104.7 kB / 427.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3915, allocations: 0 / 427.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003497/0.3919, allocations: 294.9 kB / 427.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3919, allocations: 67.03 kB / 427.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3919, allocations: 8.031 kB / 427.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.392, allocations: 3.938 kB / 427.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3922, allocations: 41.92 kB / 427.7 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3922, allocations: 11.67 kB / 427.8 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3924, allocations: 35.08 kB / 427.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.3924, allocations: 15.03 kB / 427.8 MB, free: 6.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * 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.0001324/0.3925, allocations: 201.9 kB / 428 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3926, allocations: 27.06 kB / 428 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.3926, allocations: 25.77 kB / 428.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3926, allocations: 0 / 428.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3927, allocations: 3.656 kB / 428.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3927, allocations: 3.984 kB / 428.1 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/0.3934, allocations: 0.7965 MB / 428.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3934, allocations: 0 / 428.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3936, allocations: 25.73 kB / 428.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3936, allocations: 0 / 428.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.3936, allocations: 7.438 kB / 428.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3936, allocations: 8.031 kB / 428.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3936, allocations: 336 / 428.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.3941, allocations: 483 kB / 429.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.3941, allocations: 92.52 kB / 429.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.3942, allocations: 15.88 kB / 429.5 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3944, allocations: 31.33 kB / 429.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.3945, allocations: 26.8 kB / 429.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3945, allocations: 7.625 kB / 429.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.3946, allocations: 125.2 kB / 429.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3946, allocations: 192 / 429.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.3949, allocations: 76.7 kB / 429.7 MB, free: 5.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.0001515/0.395, allocations: 131.1 kB / 429.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.3954, allocations: 372.1 kB / 430.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3954, allocations: 0 / 430.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.3957, allocations: 373 kB / 430.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.3963, allocations: 116.3 kB / 430.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.3968, allocations: 356.3 kB / 431.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.397, allocations: 0.7463 MB / 431.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.3971, allocations: 52.92 kB / 431.9 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3972, allocations: 22.59 kB / 431.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3972, allocations: 0 / 431.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Templates: time 0.005556/0.4028, allocations: 3.605 MB / 435.5 MB, free: 2.387 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1)