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.0009913/0.0009913, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.14/1.14, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001585/0.001585, allocations: 117.8 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08447, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.2995, allocations: 73.91 MB / 429 MB, free: 15.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.2997, allocations: 74.09 kB / 429 MB, free: 15.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.3135, allocations: 7.25 MB / 436.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3135, allocations: 0 / 436.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3135, allocations: 4 kB / 436.3 MB, free: 9.73 MB / 314.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.0006372/0.3142, allocations: 0.5802 MB / 436.9 MB, free: 9.113 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3142, allocations: 8.031 kB / 436.9 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.3143, allocations: 37.33 kB / 436.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3146, allocations: 254.2 kB / 437.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.3147, allocations: 55.7 kB / 437.2 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.3147, allocations: 18.38 kB / 437.2 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.3152, allocations: 267.3 kB / 437.5 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3152, allocations: 0 / 437.5 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.3152, allocations: 9.562 kB / 437.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3152, allocations: 4 kB / 437.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.3157, allocations: 218 kB / 437.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3167, allocations: 0.7627 MB / 438.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.3172, allocations: 308.2 kB / 438.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3172, allocations: 4 kB / 438.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000396/0.3176, allocations: 325.6 kB / 439.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.372e-06/0.3176, allocations: 0 / 439.1 MB, free: 7.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009809/0.3186, allocations: 0.7603 MB / 439.9 MB, free: 6.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3187, allocations: 203.7 kB / 440.1 MB, free: 6.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3188, allocations: 173.6 kB / 440.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3188, allocations: 37.52 kB / 440.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.3189, allocations: 136.8 kB / 440.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3189, allocations: 75.22 kB / 440.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.3189, allocations: 11.5 kB / 440.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.319, allocations: 336.5 kB / 440.8 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3192, allocations: 115.4 kB / 440.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3195, allocations: 208.1 kB / 441.1 MB, free: 5.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3197, allocations: 188.6 kB / 441.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3197, allocations: 4 kB / 441.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005282/0.3202, allocations: 427.8 kB / 441.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3203, allocations: 60.66 kB / 441.8 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3203, allocations: 4 kB / 441.8 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3203, allocations: 11.94 kB / 441.8 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3205, allocations: 39.11 kB / 441.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3205, allocations: 11.94 kB / 441.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3207, allocations: 26.95 kB / 441.9 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3207, allocations: 20.38 kB / 441.9 MB, free: 4.516 MB / 314.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.0001566/0.3208, allocations: 245.2 kB / 442.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3209, allocations: 19.81 kB / 442.2 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.3209, allocations: 25.2 kB / 442.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3209, allocations: 6.344 kB / 442.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.321, allocations: 3.953 kB / 442.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.321, allocations: 0 / 442.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.3219, allocations: 0.8984 MB / 443.1 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3219, allocations: 0 / 443.1 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.322, allocations: 23.92 kB / 443.1 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.322, allocations: 2.562 kB / 443.1 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3221, allocations: 19.3 kB / 443.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3221, allocations: 8 kB / 443.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3221, allocations: 0 / 443.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.3228, allocations: 0.6187 MB / 443.8 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.3228, allocations: 108.2 kB / 443.9 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.3229, allocations: 15.55 kB / 443.9 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3231, allocations: 27.88 kB / 443.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.3232, allocations: 31.7 kB / 444 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3232, allocations: 8 kB / 444 MB, free: 2.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.3233, allocations: 124.6 kB / 444.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3233, allocations: 0 / 444.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.3236, allocations: 75.05 kB / 444.2 MB, free: 2.484 MB / 314.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.0001286/0.3237, allocations: 128.1 kB / 444.3 MB, free: 2.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.3243, allocations: 445.6 kB / 444.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3243, allocations: 4.188 kB / 444.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.3247, allocations: 407.2 kB / 445.1 MB, free: 1.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3252, allocations: 132.7 kB / 445.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.3259, allocations: 0.5917 MB / 445.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.326, allocations: 0.7488 MB / 446.6 MB, free: 56 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3262, allocations: 53.61 kB / 446.6 MB, free: 4 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.099e-05/0.3263, allocations: 27.47 kB / 446.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3263, allocations: 4 kB / 446.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of Templates: time 0.00641/0.3327, allocations: 3.777 MB / 450.5 MB, free: 12.25 MB / 330.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)