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.000925/0.000925, allocations: 163 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.146/1.146, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.00193/0.00193, allocations: 111.4 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.07e-05, allocations: 4 kB / 262.2 MB, free: 3.074 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2925, allocations: 38.76 MB / 301 MB, free: 39.11 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09369/0.3863, allocations: 68.08 MB / 369.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.3866, allocations: 63.97 kB / 369.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01747/0.4041, allocations: 7.267 MB / 376.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4041, allocations: 3.938 kB / 376.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.4041, allocations: 4 kB / 376.4 MB, free: 4.328 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.0008525/0.405, allocations: 0.5538 MB / 376.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.405, allocations: 16.03 kB / 377 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.4051, allocations: 27.72 kB / 377 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.4056, allocations: 262.5 kB / 377.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.4057, allocations: 41.69 kB / 377.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4057, allocations: 12 kB / 377.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000276/0.406, allocations: 153.2 kB / 377.4 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.4063, allocations: 207.3 kB / 377.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4064, allocations: 4 kB / 377.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.4064, allocations: 0 / 377.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4064, allocations: 4 kB / 377.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.4077, allocations: 0.725 MB / 378.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.408, allocations: 251.5 kB / 378.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.4083, allocations: 190.6 kB / 378.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4083, allocations: 4 kB / 378.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003747/0.4087, allocations: 294.8 kB / 379.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.4087, allocations: 0 / 379.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005714/0.4093, allocations: 310.3 kB / 379.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.4094, allocations: 237.6 kB / 379.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4096, allocations: 157.4 kB / 379.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4096, allocations: 33.69 kB / 379.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.4097, allocations: 128.6 kB / 380 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.4098, allocations: 75 kB / 380 MB, free: 436 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.4098, allocations: 4 kB / 380 MB, free: 432 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.41, allocations: 334.8 kB / 380.4 MB, free: 88 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.4101, allocations: 76.73 kB / 380.4 MB, free: 8 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.4103, allocations: 179.2 kB / 380.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.4105, allocations: 99.91 kB / 380.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.4105, allocations: 4 kB / 380.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004621/0.411, allocations: 295.2 kB / 381 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.411, allocations: 63.39 kB / 381.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4111, allocations: 4 kB / 381.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4111, allocations: 4 kB / 381.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.4113, allocations: 51.98 kB / 381.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4113, allocations: 7.953 kB / 381.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.4115, allocations: 27.83 kB / 381.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.4115, allocations: 12 kB / 381.2 MB, free: 15.21 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.0001917/0.4117, allocations: 211.3 kB / 381.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.4118, allocations: 23.81 kB / 381.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.4119, allocations: 19.41 kB / 381.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4119, allocations: 4 kB / 381.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4119, allocations: 1.5 kB / 381.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4119, allocations: 7.938 kB / 381.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.4128, allocations: 0.7988 MB / 382.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4129, allocations: 0.8125 kB / 382.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.413, allocations: 19.98 kB / 382.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.413, allocations: 7.953 kB / 382.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.413, allocations: 4.328 kB / 382.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.413, allocations: 0 / 382.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.413, allocations: 7.938 kB / 382.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.4137, allocations: 486.8 kB / 382.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.4138, allocations: 124.8 kB / 382.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.4139, allocations: 15.98 kB / 382.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4141, allocations: 23.98 kB / 382.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.4142, allocations: 27.95 kB / 382.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.4142, allocations: 12 kB / 382.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.4144, allocations: 120.3 kB / 383.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4144, allocations: 1.125 kB / 383.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.4147, allocations: 67.84 kB / 383.1 MB, free: 13.16 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.0001762/0.4149, allocations: 130.7 kB / 383.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.4153, allocations: 368 kB / 383.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.4154, allocations: 4 kB / 383.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.4157, allocations: 366.6 kB / 384 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.4163, allocations: 118.1 kB / 384.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.417, allocations: 363.4 kB / 384.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.4174, allocations: 0.7515 MB / 385.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.4176, allocations: 60.3 kB / 385.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.4177, allocations: 23.42 kB / 385.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4177, allocations: 0 / 385.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006839/0.4246, allocations: 3.606 MB / 388.9 MB, free: 7.34 MB / 298.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)