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.001049/0.001049, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.6 MB / 183.8 MB, free: 11.47 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.001859/0.001859, allocations: 110.1 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.261e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09715/0.09721, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4597, allocations: 68.73 MB / 376.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4601, allocations: 69.16 kB / 376.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02611/0.4862, allocations: 7.322 MB / 383.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4862, allocations: 0 / 383.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.4863, allocations: 8 kB / 383.8 MB, free: 1.367 MB / 266.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.001024/0.4873, allocations: 0.5643 MB / 384.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4874, allocations: 8.031 kB / 384.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.889e-05/0.4875, allocations: 27.72 kB / 384.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.488, allocations: 258.4 kB / 384.6 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.4881, allocations: 49.39 kB / 384.7 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.4881, allocations: 19.88 kB / 384.7 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.4886, allocations: 232 kB / 384.9 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4886, allocations: 0 / 384.9 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.4887, allocations: 10.12 kB / 384.9 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4887, allocations: 4 kB / 384.9 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.489, allocations: 163.3 kB / 385.1 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.4905, allocations: 0.7777 MB / 385.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.4909, allocations: 265.8 kB / 386.1 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.4913, allocations: 195.9 kB / 386.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4913, allocations: 3.984 kB / 386.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.4917, allocations: 304.7 kB / 386.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.4917, allocations: 0 / 386.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006367/0.4924, allocations: 390.8 kB / 387 MB, free: 14.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.4925, allocations: 233.1 kB / 387.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4927, allocations: 163 kB / 387.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.4927, allocations: 36.64 kB / 387.4 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.4928, allocations: 136.4 kB / 387.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.4929, allocations: 77 kB / 387.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.4929, allocations: 3.5 kB / 387.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.493, allocations: 341 kB / 388 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.4932, allocations: 85.55 kB / 388 MB, free: 13.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.4935, allocations: 187.9 kB / 388.2 MB, free: 13.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.4937, allocations: 162 kB / 388.4 MB, free: 13.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4937, allocations: 0 / 388.4 MB, free: 13.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000595/0.4943, allocations: 391.6 kB / 388.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.4943, allocations: 58.84 kB / 388.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4944, allocations: 4 kB / 388.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4944, allocations: 7.953 kB / 388.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.4947, allocations: 55.47 kB / 388.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4948, allocations: 4 kB / 388.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.495, allocations: 34.7 kB / 388.9 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.495, allocations: 23.56 kB / 389 MB, free: 12.58 MB / 282.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.0002007/0.4953, allocations: 220.6 kB / 389.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.4953, allocations: 27.72 kB / 389.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.4954, allocations: 26.33 kB / 389.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4954, allocations: 0 / 389.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4954, allocations: 7.953 kB / 389.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4954, allocations: 0 / 389.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4965, allocations: 0.9549 MB / 390.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4965, allocations: 3.984 kB / 390.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4966, allocations: 27.92 kB / 390.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4966, allocations: 4.219 kB / 390.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.4967, allocations: 7.75 kB / 390.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.4967, allocations: 7.938 kB / 390.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4967, allocations: 0 / 390.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.4973, allocations: 0.5747 MB / 390.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4974, allocations: 120.1 kB / 390.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.4975, allocations: 19.41 kB / 390.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.4977, allocations: 23.36 kB / 391 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.4978, allocations: 27.33 kB / 391 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.4978, allocations: 15.11 kB / 391 MB, free: 10.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.4979, allocations: 123.8 kB / 391.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4979, allocations: 3.938 kB / 391.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000324/0.4983, allocations: 74.25 kB / 391.2 MB, free: 10.51 MB / 282.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.0001667/0.4985, allocations: 135.9 kB / 391.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.4989, allocations: 389.6 kB / 391.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.499, allocations: 0 / 391.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.4993, allocations: 375.9 kB / 392.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.4999, allocations: 130.8 kB / 392.2 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.5006, allocations: 381.3 kB / 392.6 MB, free: 9.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5009, allocations: 0.7525 MB / 393.3 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.5011, allocations: 54.66 kB / 393.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.5012, allocations: 23.42 kB / 393.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5012, allocations: 8 kB / 393.4 MB, free: 8.441 MB / 282.7 MB Notification: Performance of Templates: time 0.007137/0.5083, allocations: 3.759 MB / 397.2 MB, free: 4.695 MB / 282.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)