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.001541/0.001541, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002518/0.002518, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0008419/0.0008421, allocations: 10.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4092, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003836/0.4132, allocations: 1.907 MB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.4153, allocations: 0.6671 MB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.4156, allocations: 11.12 kB / 329 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.4158, allocations: 21.94 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.416, allocations: 60.36 kB / 329.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.4163, allocations: 68.86 kB / 329.2 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.4166, allocations: 162.9 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.4169, allocations: 87.77 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.4171, allocations: 92.06 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.4173, allocations: 98.5 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.4174, allocations: 14.34 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.4174, allocations: 10.12 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.4175, allocations: 37.73 kB / 329.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.4176, allocations: 67.33 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.4179, allocations: 196.7 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4179, allocations: 0 / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4179, allocations: 3.938 kB / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.4179, allocations: 0 / 329.9 MB, free: 14.76 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.001339/0.4193, allocations: 0.631 MB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.4193, allocations: 9.125 kB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4195, allocations: 25.62 kB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.42, allocations: 243.1 kB / 330.8 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4201, allocations: 48.91 kB / 330.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.4201, allocations: 21.06 kB / 330.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008745/0.421, allocations: 260.7 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4211, allocations: 4 kB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.4211, allocations: 10.31 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.4211, allocations: 4.469 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.4217, allocations: 222.7 kB / 331.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.4233, allocations: 0.7673 MB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.424, allocations: 309.6 kB / 332.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.4241, allocations: 2 kB / 332.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006554/0.4247, allocations: 329.4 kB / 332.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.4247, allocations: 0 / 332.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001572/0.4263, allocations: 0.7518 MB / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002108/0.4265, allocations: 204.2 kB / 333.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.4268, allocations: 182.5 kB / 333.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.4269, allocations: 35.89 kB / 334 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.427, allocations: 144.6 kB / 334.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.4271, allocations: 75 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.4271, allocations: 4 kB / 334.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4273, allocations: 342.9 kB / 334.5 MB, free: 11.1 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.4275, allocations: 116.6 kB / 334.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.4278, allocations: 171.3 kB / 334.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.4281, allocations: 225.7 kB / 335 MB, free: 10.55 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4281, allocations: 0 / 335 MB, free: 10.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007295/0.4289, allocations: 454.5 kB / 335.5 MB, free: 10.08 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.429, allocations: 97.09 kB / 335.5 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.429, allocations: 4 kB / 335.6 MB, free: 9.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.429, allocations: 4.094 kB / 335.6 MB, free: 9.961 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.4292, allocations: 39.91 kB / 335.6 MB, free: 9.922 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.4292, allocations: 4 kB / 335.6 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4295, allocations: 43.61 kB / 335.6 MB, free: 9.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4295, allocations: 16 kB / 335.7 MB, free: 9.859 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 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],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],$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,dA_Converter.trig,$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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0002867/0.4298, allocations: 239.7 kB / 335.9 MB, free: 9.605 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.4299, allocations: 23.81 kB / 335.9 MB, free: 9.582 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.4299, allocations: 18.66 kB / 335.9 MB, free: 9.559 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.43, allocations: 7.984 kB / 335.9 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.43, allocations: 0 / 335.9 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.43, allocations: 3.984 kB / 335.9 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.4314, allocations: 0.9116 MB / 336.9 MB, free: 8.566 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4314, allocations: 0 / 336.9 MB, free: 8.566 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4315, allocations: 23.98 kB / 336.9 MB, free: 8.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4315, allocations: 4 kB / 336.9 MB, free: 8.539 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.4316, allocations: 11.94 kB / 336.9 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4316, allocations: 3.984 kB / 336.9 MB, free: 8.523 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4316, allocations: 0 / 336.9 MB, free: 8.523 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.4325, allocations: 0.6273 MB / 337.5 MB, free: 7.867 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.4326, allocations: 96.77 kB / 337.6 MB, free: 7.754 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.4327, allocations: 20.17 kB / 337.6 MB, free: 7.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.433, allocations: 23.98 kB / 337.7 MB, free: 7.711 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.4331, allocations: 27.89 kB / 337.7 MB, free: 7.684 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.4331, allocations: 12 kB / 337.7 MB, free: 7.672 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.4333, allocations: 131.2 kB / 337.8 MB, free: 7.543 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4333, allocations: 4 kB / 337.8 MB, free: 7.539 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.4337, allocations: 68 kB / 337.9 MB, free: 7.473 MB / 270.1 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.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 (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.000206/0.4339, allocations: 144.6 kB / 338 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009299/0.4348, allocations: 0.5565 MB / 338.6 MB, free: 6.723 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4348, allocations: 0 / 338.6 MB, free: 6.723 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.4354, allocations: 407.4 kB / 339 MB, free: 6.301 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.436, allocations: 120.1 kB / 339.1 MB, free: 6.184 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.4373, allocations: 0.5967 MB / 339.7 MB, free: 5.566 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4377, allocations: 0.7565 MB / 340.5 MB, free: 4.781 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.4378, allocations: 49.89 kB / 340.5 MB, free: 4.734 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.4379, allocations: 23.44 kB / 340.5 MB, free: 4.711 MB / 270.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4379, allocations: 0 / 340.5 MB, free: 4.711 MB / 270.1 MB Notification: Performance of Templates: time 0.008106/0.446, allocations: 3.817 MB / 344.4 MB, free: 0.8945 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: