Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.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.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 192.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 47.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2823, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003686/0.286, allocations: 2.386 MB / 327.2 MB, free: 48 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.2875, allocations: 0.6945 MB / 327.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2877, allocations: 11.34 kB / 327.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2879, allocations: 21.98 kB / 328 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.2881, allocations: 42.5 kB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.2884, allocations: 78.23 kB / 328.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.2888, allocations: 276.8 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.2891, allocations: 105 kB / 328.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2894, allocations: 115.4 kB / 328.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.2896, allocations: 122.2 kB / 328.7 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.2897, allocations: 21.91 kB / 328.7 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.176e-05/0.2897, allocations: 25.62 kB / 328.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.2898, allocations: 54.66 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.29, allocations: 124.8 kB / 328.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.2903, allocations: 268.2 kB / 329.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2903, allocations: 0 / 329.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2903, allocations: 0 / 329.2 MB, free: 14.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2904, allocations: 0 / 329.2 MB, free: 14.66 MB / 270.1 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.0012/0.2916, allocations: 0.6715 MB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2916, allocations: 9.562 kB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8e-05/0.2917, allocations: 25.91 kB / 329.9 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.292, allocations: 244.8 kB / 330.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.2921, allocations: 44.92 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.2922, allocations: 22.09 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.2929, allocations: 262.3 kB / 330.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.293, allocations: 0 / 330.4 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.293, allocations: 7.188 kB / 330.4 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.293, allocations: 4 kB / 330.4 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.2935, allocations: 202.6 kB / 330.6 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.2949, allocations: 0.7573 MB / 331.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.2956, allocations: 296.3 kB / 331.7 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.2961, allocations: 236.6 kB / 331.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.2961, allocations: 2.125 kB / 331.9 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.2967, allocations: 316 kB / 332.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2967, allocations: 1.062 kB / 332.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001259/0.2979, allocations: 0.5697 MB / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.2981, allocations: 207.8 kB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.2983, allocations: 187.8 kB / 333.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2983, allocations: 33.7 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2984, allocations: 132.8 kB / 333.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.175e-05/0.2985, allocations: 82.98 kB / 333.4 MB, free: 11.22 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.2986, allocations: 66.03 kB / 333.5 MB, free: 11.15 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2988, allocations: 330.8 kB / 333.8 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.299, allocations: 112.6 kB / 333.9 MB, free: 10.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.2993, allocations: 171.1 kB / 334.1 MB, free: 10.52 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.2999, allocations: 425.5 kB / 334.5 MB, free: 10.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2999, allocations: 0 / 334.5 MB, free: 10.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007019/0.3006, allocations: 434.2 kB / 334.9 MB, free: 9.602 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/0.3007, allocations: 101.1 kB / 335 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3007, allocations: 3.938 kB / 335 MB, free: 9.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3007, allocations: 4 kB / 335 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3009, allocations: 39.92 kB / 335.1 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.301, allocations: 4 kB / 335.1 MB, free: 9.434 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3012, allocations: 39.77 kB / 335.1 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3012, allocations: 12 kB / 335.1 MB, free: 9.383 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.3014, allocations: 235.8 kB / 335.4 MB, free: 9.129 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.3015, allocations: 23.72 kB / 335.4 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.3015, allocations: 30.58 kB / 335.4 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3016, allocations: 8 kB / 335.4 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3016, allocations: 3.938 kB / 335.4 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3016, allocations: 0 / 335.4 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.303, allocations: 0.9281 MB / 336.4 MB, free: 8.062 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.303, allocations: 4 kB / 336.4 MB, free: 8.059 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3031, allocations: 23.92 kB / 336.4 MB, free: 8.035 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3031, allocations: 0 / 336.4 MB, free: 8.035 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3031, allocations: 11.98 kB / 336.4 MB, free: 8.023 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3032, allocations: 4 kB / 336.4 MB, free: 8.02 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3032, allocations: 32 / 336.4 MB, free: 8.02 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.3041, allocations: 0.6127 MB / 337 MB, free: 7.375 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.3042, allocations: 96.86 kB / 337.1 MB, free: 7.262 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.3043, allocations: 19.98 kB / 337.1 MB, free: 7.242 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3045, allocations: 23.98 kB / 337.1 MB, free: 7.219 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3046, allocations: 19.97 kB / 337.2 MB, free: 7.199 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.3046, allocations: 19.97 kB / 337.2 MB, free: 7.18 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3047, allocations: 135.2 kB / 337.3 MB, free: 7.047 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3047, allocations: 0 / 337.3 MB, free: 7.047 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.3051, allocations: 75.84 kB / 337.4 MB, free: 6.973 MB / 270.1 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.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002233/0.3054, allocations: 132.9 kB / 337.5 MB, free: 6.828 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3065, allocations: 0.5683 MB / 338.1 MB, free: 6.223 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3065, allocations: 4 kB / 338.1 MB, free: 6.219 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.3071, allocations: 398.6 kB / 338.5 MB, free: 5.805 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.3078, allocations: 140.8 kB / 338.6 MB, free: 5.668 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.309, allocations: 0.6044 MB / 339.2 MB, free: 5.039 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.3096, allocations: 0.7406 MB / 340 MB, free: 4.273 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.3098, allocations: 49.89 kB / 340 MB, free: 4.227 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.3099, allocations: 23.44 kB / 340 MB, free: 4.203 MB / 270.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3099, allocations: 4 kB / 340 MB, free: 4.199 MB / 270.1 MB Notification: Performance of Templates: time 0.008985/0.3189, allocations: 4.202 MB / 344.2 MB, free: 0 / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1)