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.001475/0.001475, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001714/0.001714, allocations: 195.5 kB / 16.14 MB, free: 6.715 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.898/1.898, allocations: 205.1 MB / 222 MB, free: 4.746 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.001764/0.001765, allocations: 52.3 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4364, allocations: 46.63 MB / 324.7 MB, free: 2.043 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005505/0.442, allocations: 2.385 MB / 327.1 MB, free: 168 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.4439, allocations: 0.7042 MB / 327.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.444, allocations: 2.594 kB / 327.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.4443, allocations: 30.73 kB / 327.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.4444, allocations: 41.75 kB / 327.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.4449, allocations: 81.92 kB / 327.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.4452, allocations: 249.5 kB / 328.2 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.4455, allocations: 97.97 kB / 328.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.4458, allocations: 107.8 kB / 328.4 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.4461, allocations: 112.9 kB / 328.5 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.4461, allocations: 14.22 kB / 328.5 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.4462, allocations: 18.56 kB / 328.5 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.4463, allocations: 47.86 kB / 328.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.4465, allocations: 115.5 kB / 328.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.4469, allocations: 264.9 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.447, allocations: 0 / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.447, allocations: 1.281 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.447, allocations: 3.938 kB / 328.9 MB, free: 14.82 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.001816/0.4488, allocations: 0.6636 MB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.649e-05/0.4489, allocations: 8.156 kB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.449, allocations: 27.34 kB / 329.6 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.4495, allocations: 244.5 kB / 329.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.4496, allocations: 48.33 kB / 329.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.4497, allocations: 18.47 kB / 329.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.4506, allocations: 266.5 kB / 330.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.4506, allocations: 0 / 330.2 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.4507, allocations: 11.25 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.4507, allocations: 3.906 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.4517, allocations: 199.2 kB / 330.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.4538, allocations: 0.7639 MB / 331.2 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.4545, allocations: 287.9 kB / 331.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.4551, allocations: 234.2 kB / 331.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.4551, allocations: 2.281 kB / 331.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007313/0.4559, allocations: 316.1 kB / 332 MB, free: 12.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.4559, allocations: 0 / 332 MB, free: 12.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001928/0.4578, allocations: 0.5687 MB / 332.6 MB, free: 12.13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.458, allocations: 207.9 kB / 332.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4582, allocations: 183.8 kB / 332.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.4583, allocations: 33.7 kB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4584, allocations: 140.7 kB / 333.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.4585, allocations: 78.98 kB / 333.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4587, allocations: 66.03 kB / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4589, allocations: 330.8 kB / 333.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.4592, allocations: 116.6 kB / 333.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4595, allocations: 171.1 kB / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.4601, allocations: 413.5 kB / 334.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4601, allocations: 0 / 334.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008935/0.461, allocations: 438.2 kB / 334.7 MB, free: 9.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/0.4611, allocations: 97.03 kB / 334.8 MB, free: 9.715 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.4611, allocations: 11.91 kB / 334.8 MB, free: 9.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.4611, allocations: 4 kB / 334.8 MB, free: 9.699 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.4614, allocations: 43.92 kB / 334.8 MB, free: 9.656 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4614, allocations: 4 kB / 334.8 MB, free: 9.652 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.4617, allocations: 43.7 kB / 334.9 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.4617, allocations: 16 kB / 334.9 MB, free: 9.594 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.0003313/0.462, allocations: 231.8 kB / 335.1 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.4621, allocations: 27.72 kB / 335.2 MB, free: 9.316 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.4622, allocations: 26.58 kB / 335.2 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.4622, allocations: 8 kB / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4622, allocations: 0 / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4622, allocations: 0 / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.4639, allocations: 0.928 MB / 336.1 MB, free: 8.277 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4639, allocations: 0 / 336.1 MB, free: 8.277 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.4641, allocations: 23.92 kB / 336.1 MB, free: 8.254 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4641, allocations: 0 / 336.1 MB, free: 8.254 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.4641, allocations: 11.98 kB / 336.2 MB, free: 8.242 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4641, allocations: 4 kB / 336.2 MB, free: 8.238 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4641, allocations: 32 / 336.2 MB, free: 8.238 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/0.4651, allocations: 0.6128 MB / 336.8 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.4652, allocations: 96.8 kB / 336.9 MB, free: 7.48 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.4653, allocations: 27.98 kB / 336.9 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4655, allocations: 15.98 kB / 336.9 MB, free: 7.438 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4656, allocations: 19.97 kB / 336.9 MB, free: 7.418 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.4656, allocations: 16.17 kB / 336.9 MB, free: 7.402 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.4658, allocations: 135.2 kB / 337.1 MB, free: 7.27 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4658, allocations: 3.938 kB / 337.1 MB, free: 7.266 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.4663, allocations: 79.84 kB / 337.2 MB, free: 7.188 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.0002027/0.4665, allocations: 133 kB / 337.3 MB, free: 7.043 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.4675, allocations: 0.5449 MB / 337.8 MB, free: 6.461 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4675, allocations: 0 / 337.8 MB, free: 6.461 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.4681, allocations: 398.5 kB / 338.2 MB, free: 6.047 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/0.469, allocations: 135.9 kB / 338.4 MB, free: 5.914 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4704, allocations: 0.5932 MB / 338.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.471, allocations: 0.7448 MB / 339.7 MB, free: 4.527 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.4712, allocations: 45.91 kB / 339.7 MB, free: 4.484 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.4713, allocations: 23.44 kB / 339.8 MB, free: 4.461 MB / 270.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4713, allocations: 4 kB / 339.8 MB, free: 4.457 MB / 270.1 MB Notification: Performance of Templates: time 0.01015/0.4815, allocations: 3.981 MB / 343.7 MB, free: 492 kB / 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)